Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
  • Loading branch information
marandaneto committed Oct 20, 2020
commit e51f7090e0037b2f411e3514f2e046d8f30d7a5e
3 changes: 1 addition & 2 deletions dart/lib/src/sentry.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ class Sentry {
static void _setDefaultConfiguration(SentryOptions options) {
// TODO: check DSN nullability and empty

// TODO: find a way to know ifs no-op (&& options.logger is noOpLogger)
if (options.debug) {
if (options.debug && options.logger == noOpLogger) {
options.logger = dartLogger;
}
}
Expand Down