Skip to content

Commit

Permalink
dont shown in-loading error message on screen
Browse files Browse the repository at this point in the history
  • Loading branch information
sarfrazonsupport committed Oct 29, 2018
1 parent 2a3ff7d commit 9f3a6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ user = user.trim();

// catch un-handled promise errors
process.on("unhandledRejection", (reason, p) => {
console.warn("Unhandled Rejection at: Promise", p, "reason:", reason);
//console.warn("Unhandled Rejection at: Promise", p, "reason:", reason);
});

(async function main() {
Expand Down

0 comments on commit 9f3a6f7

Please sign in to comment.