Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3663 from LiskHQ/3660-provide_default_app_params
Browse files Browse the repository at this point in the history
Provide default application parameters - Closes #3660
  • Loading branch information
shuse2 authored Jun 4, 2019
2 parents 2c1e0f1 + 0014b10 commit f977a1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions framework/src/controller/schema/application_config_schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ module.exports = {
additionalProperties: false,
default: {
app: {
label: 'alpha-sdk-app',
version: '0.0.0',
minVersion: '0.0.0',
protocolVersion: '1.1',
ipc: {
enabled: false,
},
Expand Down
1 change: 1 addition & 0 deletions framework/src/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class SchemaValidationError extends FrameworkError {
*/
constructor(errors) {
super('Schema validation error');
this.message = JSON.stringify(errors, null, 2);
this.errors = errors;
}
}
Expand Down

0 comments on commit f977a1a

Please sign in to comment.