Tinkoff / micro-sentry

Tiny Sentry client with idiomatic wrapper for Angular
Apache License 2.0
118 stars 8 forks source link

[BUG] #30

Closed maxcodefaster closed 2 years ago

maxcodefaster commented 2 years ago

🐞 Bug report

Description

Thank you for merging the removal of the Angular HTTPPlugin. Sadly with the new release I am getting now a factory error:

TypeError: Cannot read properties of undefined (reading 'dsn')
    at new MicroSentryClient (micro-sentry-core.mjs:107:21)
    at new BrowserMicroSentryClient (micro-sentry-browser.mjs:19:9)
    at new MicroSentryService (micro-sentry-angular.mjs:42:1)
    at core.mjs:3722:21
    at Object.MicroSentryService_Factory [as factory] (micro-sentry-angular.mjs:56:1)
    at R3Injector.hydrate (core.mjs:9353:35)
    at R3Injector.get (core.mjs:9247:33)
    at injectInjectorOnly (core.mjs:4870:33)
    at Module.ɵɵinject (core.mjs:4874:12)
    at Object.MicroSentryErrorHandler_Factory [as factory] (micro-sentry-angular.mjs:76:1)

Gping back from 6.1.2 to 6.1.1 fixes the issue.

tinkoff-bot commented 2 years ago

:tada: This issue is included in version angular@6.1.3 :tada:

The release is available on GitHub release

IKatsuba commented 2 years ago

@maxcodefaster I am sorry for that! Please, use the latest version of the library

tinkoff-bot commented 2 years ago

:tada: This issue is included in version core@6.0.1 :tada:

The release is available on GitHub release

tinkoff-bot commented 2 years ago

:tada: This issue is included in version browser@6.0.1 :tada:

The release is available on GitHub release