Skip to content

Commit

Permalink
remove leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos committed Jan 6, 2025
1 parent 36aaf1b commit d33d004
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/fake_gcloud/lib/retry_enforcer_storage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const _skippedFirstFrames = {
};

void _verifyRetryOnStack() {
final st = StackTrace.current.toString();
final trace = Trace.current();

// The first frame index outside of this file.
Expand Down Expand Up @@ -43,8 +42,8 @@ void _verifyRetryOnStack() {
return;
}

print('Missing retry detected:\n$st\n');
throw AssertionError('retry is not present in stacktrace: $st');
print('Missing retry detected:\n$trace\n');
throw AssertionError('retry is not present in stacktrace: $trace');
}

Future<R> _verifyRetry<R>(
Expand Down

0 comments on commit d33d004

Please sign in to comment.