Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Glazelf committed Apr 19, 2023
1 parent 1e4591f commit 0c5f762
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ module.exports = async (exception, client, interaction = null) => {
} else if (exceptionString.includes("connect ETIMEDOUT")) {
return;
} else if (exceptionString.includes("AxiosError")) {
return console.log(`Axios error occurred (likely remote server connection or bad gateway) at ${timestamp}`);
return console.log(`${timestamp}: Axios error occurred (likely remote server connection or bad gateway)`);
} else if (!exceptionString.includes("Missing Permissions")) {
// Log error
console.log(`Error at ${timestamp}:`);
console.log(`${timestamp}: Error occurred`);
console.log(exception);
};

Expand Down

0 comments on commit 0c5f762

Please sign in to comment.