Skip to content

Commit

Permalink
refactor: coderabbit suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavxc committed May 24, 2024
1 parent f20a5ec commit b185f10
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ export class GlobalExceptionFilter implements ExceptionFilter {
}

// try to extract db error for unknown errors
const dbError = !(exception instanceof NcBaseError)
? extractDBError(exception)
: null;
const dbError =
exception instanceof NcBaseError ? null : extractDBError(exception);

// skip unnecessary error logging
if (
Expand Down

1 comment on commit b185f10

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

The PR changes have been deployed. Please run the following command to verify:

docker run -d -p 8888:8080 nocodb/nocodb-timely:0.207.2-pr-8571-20240524-1335

Please sign in to comment.