skip init sentry if dsn is not specified
This commit is contained in:
parent
733302b373
commit
f6a29bd6f0
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class SuperLogging {
|
|||
|
||||
if (config.body == null) return;
|
||||
|
||||
if (enable) {
|
||||
if (enable && sentryIsEnabled) {
|
||||
await SentryFlutter.init(
|
||||
(options) {
|
||||
options.dsn = config.sentryDsn;
|
||||
|
|
Loading…
Add table
Reference in a new issue