Skip to content

Commit d33d004

Browse files
committed
remove leftover
1 parent 36aaf1b commit d33d004

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/fake_gcloud/lib/retry_enforcer_storage.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const _skippedFirstFrames = {
1313
};
1414

1515
void _verifyRetryOnStack() {
16-
final st = StackTrace.current.toString();
1716
final trace = Trace.current();
1817

1918
// The first frame index outside of this file.
@@ -43,8 +42,8 @@ void _verifyRetryOnStack() {
4342
return;
4443
}
4544

46-
print('Missing retry detected:\n$st\n');
47-
throw AssertionError('retry is not present in stacktrace: $st');
45+
print('Missing retry detected:\n$trace\n');
46+
throw AssertionError('retry is not present in stacktrace: $trace');
4847
}
4948

5049
Future<R> _verifyRetry<R>(

0 commit comments

Comments
 (0)