Skip to content

Commit

Permalink
fix: set log level to error when sending error from client
Browse files Browse the repository at this point in the history
  • Loading branch information
logotip4ik committed Nov 9, 2024
1 parent eef380d commit 03181f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { H3Error } from 'h3';

export function sendError(error: Error, properties?: Record<string, string | boolean | undefined>) {
const payload = {
type: LogLevel.Info,
type: LogLevel.Error,
payload: {
...error,

Expand Down

0 comments on commit 03181f8

Please sign in to comment.