Skip to content

Commit

Permalink
fix: propogate correct error message for file not found
Browse files Browse the repository at this point in the history
  • Loading branch information
kakha urigashvili authored and RonWang committed Aug 28, 2020
1 parent 3bc16bb commit 23aabd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/deploy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class DeployCommand extends AbstractCommand {
if (err instanceof CliWarn) {
Messenger.getInstance().warn(err.message);
} else if (err instanceof CliFileNotFoundError) {
Messenger.getInstance().warn('Failed to find the ask-resources.json file to deploy with from the current directory.');
Messenger.getInstance().warn(err.message);
} else {
Messenger.getInstance().error(err);
}
Expand Down

0 comments on commit 23aabd7

Please sign in to comment.