Skip to content

Commit

Permalink
Minor changes on exception message.
Browse files Browse the repository at this point in the history
  • Loading branch information
shunping committed Dec 21, 2024
1 parent da834fd commit 6d105e5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -717,8 +717,9 @@ def stage_file_with_retry(
raise exn
else:
raise retry.PermanentException(
"Failed to tell or seek in stream because we caught exception:",
''.join(traceback.format_exception_only(exn.__class__, exn)))
"Skip retrying because we caught exception:",
''.join(traceback.format_exception_only(exn.__class__, exn)),
', but the stream is not seekable')

@retry.no_retries # Using no_retries marks this as an integration point.
def create_job(self, job):
Expand Down

0 comments on commit 6d105e5

Please sign in to comment.