Skip to content

Commit

Permalink
Update packages/blitz/src/errors.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhsuresh authored Jul 31, 2024
1 parent 9184df5 commit 03d6432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/blitz/src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class PaginationArgumentError extends Error {
let _blitzErrorClassRegistered = false

export function registerBlitzErrorClasses() {
if (_blitzErrorClassRegistered || isNotInUserTestEnvironment()) return
if (_blitzErrorClassRegistered || !isNotInUserTestEnvironment()) return
SuperJson.registerClass(AuthenticationError, {
identifier: "BlitzAuthenticationError",
allowProps: errorProps,
Expand Down

0 comments on commit 03d6432

Please sign in to comment.