Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Aslemammad committed Sep 17, 2024
1 parent 3a6d37f commit a2c1a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/server/plugins/error.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default defineNitroPlugin((nitro) => {
nitro.hooks.hook("error", async (error, { event }) => {
console.error(`${event?.path} Application error:`, error);
console.log(`${event?.path} Application error:`, error);
});
});

0 comments on commit a2c1a42

Please sign in to comment.