Skip to content

Commit 7079282

Browse files
committed
Remove unnecessary code
1 parent b94578c commit 7079282

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

dart/lib/src/hub.dart

-2
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,6 @@ class _WeakMap {
602602
return;
603603
}
604604
throwable = exceptionsWrapperUtil.wrapIfUnsupportedType(throwable);
605-
_expando[throwable];
606605
try {
607606
if (_expando[throwable] == null) {
608607
_expando[throwable] = MapEntry(span, transaction);
@@ -631,7 +630,6 @@ class _WeakMap {
631630
exception: exception,
632631
stackTrace: stackTrace,
633632
);
634-
print('hahaa');
635633
}
636634
return null;
637635
}

dart/test/utils/wrapper_exception_util_test.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void main() {
7171

7272
final third =
7373
exceptionWrapperUtil.wrapIfUnsupportedType(unsupportedThrowable);
74-
expect(fixture.expando[third], 2);
74+
expect(fixture.expando[third], 2.0);
7575
});
7676
});
7777

0 commit comments

Comments
 (0)