Skip to content

Commit

Permalink
Properly use logger.exception()
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgibbs committed Jul 11, 2018
1 parent 301664f commit e938981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydm/widgets/symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def imageFiles(self, new_files):
try:
file_path = self.app.get_path(filename)
except Exception as e:
logger.exception(e)
logger.exception("Couldn't get file with path %s", filename)
file_path = filename
else:
file_path = filename
Expand Down

0 comments on commit e938981

Please sign in to comment.