You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.
In your code base by checking instanceof Error will make every exception to status 500
if(errinstanceofError){console.error(errTitle,err);conststatusCode=HttpStatus.INTERNAL_SERVER_ERROR;res.status(statusCode).json({
statusCode,message: 'Internal Server Error'});}
The text was updated successfully, but these errors were encountered:
On version 4.6.5 updates say:
HttpException
extendsError
RpcException
extendsError
WsException
extendsError
In your code base by checking
instanceof
Error will make every exception to status 500The text was updated successfully, but these errors were encountered: