refactor • line 15 : replace log by error

1• Remove `console.log()`
2• Add `console.error()`
Because the message content is an error.
This commit is contained in:
Menai Ala Eddine 2020-06-28 20:56:47 -07:00 committed by GitHub
parent ef49296fb4
commit 5dca71fa3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ function catchErrors(message, source, lineno, colno, error) {
console.log("\n\n⚠\n\n\n");
logSection("APPLICATION CRASH", "#e53935");
console.log("Error:", message, "->", error);
console.error("Error:", message, "->", error);
console.log("Payload:", fullPayload);
if (window.Sentry && !window.anyModLoaded) {