Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary code
Browse files Browse the repository at this point in the history
buenaflor committed Oct 20, 2023
1 parent b94578c commit 7079282
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions dart/lib/src/hub.dart
Original file line number Diff line number Diff line change
@@ -602,7 +602,6 @@ class _WeakMap {
return;
}
throwable = exceptionsWrapperUtil.wrapIfUnsupportedType(throwable);
_expando[throwable];
try {
if (_expando[throwable] == null) {
_expando[throwable] = MapEntry(span, transaction);
@@ -631,7 +630,6 @@ class _WeakMap {
exception: exception,
stackTrace: stackTrace,
);
print('hahaa');
}
return null;
}
2 changes: 1 addition & 1 deletion dart/test/utils/wrapper_exception_util_test.dart
Original file line number Diff line number Diff line change
@@ -71,7 +71,7 @@ void main() {

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

0 comments on commit 7079282

Please sign in to comment.