Skip to content

Commit

Permalink
error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
thusser committed Nov 20, 2023
1 parent 13c1735 commit ac65a63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyobs/modules/image/imagewatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ async def _worker(self) -> None:
try:
async with self.vfs.open_file(out_filename, "wb") as fd:
await fd.write(data)
except:
log.warning("Error while copying file, skipping for now.")
except Exception as e:
log.warning(f"Error while copying file, skipping for now: {e}")
success = False
break

Expand Down

0 comments on commit ac65a63

Please sign in to comment.