mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-07-16 01:57:19 +02:00
Set up CI with ESLint linter and Mocha test runner (#661)
This commit is contained in:
@@ -85,7 +85,7 @@ function printError(error: any, req?: express.Request) {
|
||||
}
|
||||
console.error(message);
|
||||
} else if (error instanceof HTTPError) {
|
||||
let message = `[ERROR] HTTP.${
|
||||
const message = `[ERROR] HTTP.${
|
||||
error.code
|
||||
} ${error.message.toString()} ${error.stack?.split("\n")[1].trim()}`;
|
||||
console.error(message);
|
||||
|
||||
Reference in New Issue
Block a user