Skip to content

Commit

Permalink
fixing linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jeisenman23 committed Jan 7, 2025
1 parent 80c92b6 commit 0e6b9f9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions elm/web/osti.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,10 @@ def download(self, out_dir):
try:
record.download(fp_out)
except Exception as e:
logger.exception('Could not download OSTI ID {} "{}": {}'
.format(record.osti_id, record.title, e))
msg = f'''Could not download OSTI ID {record.osti_id}
"{record.title}": {e}'''
logger.exception(msg)

logger.info('Finished download!')

@property
Expand Down

0 comments on commit 0e6b9f9

Please sign in to comment.