Set FullyCanoncialSig flag and fix integration tests

This commit is contained in:
Chris Clark
2015-10-19 15:32:05 -07:00
parent 01ecd197ce
commit 3fbde86548
33 changed files with 293 additions and 278 deletions

View File

@@ -83,8 +83,12 @@ function loadSchemas() {
}
function formatSchemaError(error) {
return error.field + ' ' + error.message
+ (error.value ? ' (' + JSON.stringify(error.value) + ')' : '');
try {
return error.field + ' ' + error.message
+ (error.value ? ' (' + JSON.stringify(error.value) + ')' : '');
} catch (err) {
return error.field + ' ' + error.message;
}
}
function formatSchemaErrors(errors) {