Skip to content

Commit

Permalink
fix: change from fatal to warn message (#71)
Browse files Browse the repository at this point in the history
* fix: change from fatal to error message for smapi failed command
  • Loading branch information
kakhaUrigashvili authored Mar 27, 2020
1 parent a11bb99 commit 37c922f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/askx-smapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if (!process.argv.slice(2).length) {
Messenger.getInstance().info(message);
})
.catch(err => {
Messenger.getInstance().fatal(err.message);
Messenger.getInstance().error(err.message);
process.exit(1);
});
}

0 comments on commit 37c922f

Please sign in to comment.