Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@

# 4.0.6

* Fix: Do not append stack trace to the exception if there are no frames
* Fix: Empty DSN disables the SDK and runs the App

# 4.0.6

* Refactoring: Migrate Sentry Dart to null safety
* Fix: captureMessage defaults SentryLevel to info
* Fix: SentryEvent.throwable returns the unwrapped throwable instead of the throwableMechanism
Expand Down
2 changes: 0 additions & 2 deletions dart/lib/src/protocol/sentry_event.dart
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ class SentryEvent {

final dynamic _throwable;

final dynamic _throwable;

/// An object that was thrown.
///
/// It's `runtimeType` and `toString()` are logged.
Expand Down
1 change: 1 addition & 0 deletions dart/lib/src/sentry_exception_factory.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class SentryExceptionFactory {
SentryStackTrace? sentryStackTrace;
if (stackTrace != null) {
final frames = _stacktraceFactory.getStackFrames(stackTrace);

if (frames.isNotEmpty) {
sentryStackTrace = SentryStackTrace(
frames: frames,
Expand Down
2 changes: 1 addition & 1 deletion dart/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ homepage: https://docs.sentry.io/platforms/dart/
repository: https://github.com/getsentry/sentry-dart

environment:
sdk: '>=2.12.0-259.9.beta <3.0.0'
sdk: '>=2.12.0 <3.0.0'

analyzer:
enable-experiment:
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.