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
Prev Previous commit
Next Next commit
Remove unnecessary code
  • Loading branch information
buenaflor committed Oct 20, 2023
commit 707928274da1f9dca8d29df65e8ca2f164cead43
2 changes: 0 additions & 2 deletions dart/lib/src/hub.dart
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,6 @@ class _WeakMap {
return;
}
throwable = exceptionsWrapperUtil.wrapIfUnsupportedType(throwable);
_expando[throwable];
try {
if (_expando[throwable] == null) {
_expando[throwable] = MapEntry(span, transaction);
Expand Down Expand Up @@ -631,7 +630,6 @@ class _WeakMap {
exception: exception,
stackTrace: stackTrace,
);
print('hahaa');
}
return null;
}
Expand Down
2 changes: 1 addition & 1 deletion dart/test/utils/wrapper_exception_util_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void main() {

final third =
exceptionWrapperUtil.wrapIfUnsupportedType(unsupportedThrowable);
expect(fixture.expando[third], 2);
expect(fixture.expando[third], 2.0);
});
});

Expand Down