Skip to content

Commit

Permalink
Improved: remove unused variables to fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ymaheshwari1 committed Jan 16, 2024
1 parent 8c0c18b commit 53a8896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logger/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function getStack(error: any) {
export default {
install(app: any, options: any) {

app.config.errorHandler = (error: any, instance: any, info: any) => {
app.config.errorHandler = (error: any) => {
// TODO Improve code to add more information related to code failed
logger.error("Global handler:" + getStack(error));
}
Expand Down

0 comments on commit 53a8896

Please sign in to comment.