Skip to content

Commit

Permalink
fix: error
Browse files Browse the repository at this point in the history
  • Loading branch information
bigint committed Feb 27, 2024
1 parent d60b158 commit 7aae242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/lib/catchedError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const catchedError = (res: Response, error: any) => {
logger.error(error);
return res
.status(500)
.json({ error: Errors.SomethingWentWrong, success: false });
.json({ error: Errors.SomethingWentWrong, message: error, success: false });
};

export default catchedError;

1 comment on commit 7aae242

@vercel
Copy link

@vercel vercel bot commented on 7aae242 Feb 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

web – ./apps/web

heyxyz.vercel.app
web-heyxyz.vercel.app
hey.xyz
web-git-main-heyxyz.vercel.app

Please sign in to comment.