Skip to content

Commit

Permalink
fix exception logging
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanMarten committed Dec 17, 2024
1 parent 84d5811 commit 349093e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,10 @@ def _verify_existing_request_files(

return incomplete_files

except:
logger.warning("Cache verification failed due to {e} - regenerating all request files.")
except Exception as e:
logger.warning(
f"Cache verification failed due to {e} - regenerating all request files."
)
incomplete_files = list(range(expected_num_files))
return incomplete_files

Expand Down

0 comments on commit 349093e

Please sign in to comment.