Closed linusschwab closed 2 years ago
:tada: This issue is included in version core@3.0.0-beta.1 :tada:
The release is available on GitHub release
:tada: This issue is included in version browser@3.0.0-beta.1 :tada:
The release is available on GitHub release
:tada: This issue is included in version angular@3.0.0-beta.1 :tada:
The release is available on GitHub release
:tada: This issue is included in version core@3.0.0 :tada:
The release is available on GitHub release
:tada: This issue is included in version browser@3.0.0 :tada:
The release is available on GitHub release
:tada: This issue is included in version angular@3.0.0 :tada:
The release is available on GitHub release
🐞 Bug report
Description
The current version of micro-sentry is not compatible with Angular Universal unfortunately. If an error is thrown during the server-side rendering, micro-sentry itself causes another error when trying to submit it to Sentry:
This happens due to the window not being available server-side.
Reproduction
Expected behavior
To avoid crashing during the error reporting, micro-sentry should include a simple platform check and either get the required error reporting data without using window or not include them if an error is thrown server-side.
Versions
Let me know if you have any questions or need any additional information 🙂