Skip to content

Commit

Permalink
Refs facebookarchive#188, English improvements of the message
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyleeon committed Nov 27, 2016
1 parent 231df83 commit 8d847fb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,11 @@ async function work(body) {
if (e instanceof SyntaxError && repoConfig.actions.indexOf(data.action) !== -1) {
// Syntax error while reading custom configuration file
var message =
'Unable to parse mention-bot custom configuration file due to syntax error.\n' +
'Please check the potential errors below:\n\n' +
'1. Invalid JSON type\n' +
'2. Having extra "," in the last JSON attribute';
'Unable to parse mention-bot custom configuration file due to a syntax error.\n' +
'Please check the potential root causes below:\n\n' +
'1. Having comments\n' +
'2. Invalid JSON type\n' +
'3. Having extra "," in the last JSON attribute';
createComment(data, message);
}
});
Expand Down

0 comments on commit 8d847fb

Please sign in to comment.