Skip to content

Commit

Permalink
Update error message for parsing restarts files for a time
Browse files Browse the repository at this point in the history
Co-authored-by: Aidan Heerdegen <aidan.heerdegen@gmail.com>
  • Loading branch information
jo-basevi and aidanheerdegen committed Oct 10, 2023
1 parent c9b4c2e commit e751869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payu/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ def get_restarts_to_prune(self,
raise
except Exception as e:
print('payu: error: Error parsing restart directory ',
f'{restart} for a datetime. Error: {e}')
f'{restart} for a datetime to prune restarts. Error: {e}')
raise

if (next_dt is not None and restart_dt < next_dt):
Expand Down

0 comments on commit e751869

Please sign in to comment.