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
use correct object
  • Loading branch information
denrase committed May 30, 2023
commit 90d030e5cdace37c0456a36f4538aaeb05bbd787
4 changes: 2 additions & 2 deletions dart/lib/src/sentry_exception_factory.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ class SentryExceptionFactory {
}
}

final exceptionString = exception.toString();
final throwableString = throwable.toString();
final stackTraceString = stackTrace.toString();
final value = exceptionString.replaceAll(stackTraceString, '').trim();
final value = throwableString.replaceAll(stackTraceString, '').trim();

// if --obfuscate feature is enabled, 'type' won't be human readable.
// https://flutter.dev/docs/deployment/obfuscate#caveat
Expand Down