Skip to content

Commit

Permalink
fix global exception error
Browse files Browse the repository at this point in the history
  • Loading branch information
cauta committed Apr 16, 2024
1 parent b1bb39e commit 604ce54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/libs/global/src/global.exception.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class ServiceException extends HttpException {
message: message || errorCode.description,
data: data,
},
errorCode.code / 1000,
Math.floor(errorCode.code / 1000),
);
}
}

0 comments on commit 604ce54

Please sign in to comment.