Skip to content

Commit

Permalink
Update framework build error data (fixes #47) (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
taylortom authored Jul 2, 2024
2 parents c9d6222 + f45a233 commit d6a10a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion errors/errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"FW_CLI_BUILD_FAILED": {
"data": {
"cmd": "The command that caused the error",
"message": "A detailed error message passed from adapt-cli"
"raw": "The raw error output"
},
"description": "Framework build using the adapt-cli failed",
"statusCode": 500
Expand Down
2 changes: 1 addition & 1 deletion lib/AdaptFrameworkBuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class AdaptFrameworkBuild {
})
} catch (e) {
throw App.instance.errors.FW_CLI_BUILD_FAILED
.setData({ cmd: e.cmd, stderr: e.stderr })
.setData({ cmd: e.cmd, raw: e.raw })
}
}
this.isPreview ? await this.createPreview() : await this.createZip()
Expand Down

0 comments on commit d6a10a7

Please sign in to comment.