Fix TypeScript compatability and remove development mode error
Changed
- Remove error throw in development mode when sending an error with
send/sendError
. - The package is now useUnknownInCatchVariables compliant.
Try catch blocks in the package now check for the caught variable to be an instance of
Error
before doing any error-specific operations with it.
View the @appsignal/javascript v1.4.0 changelog for more information.