You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a file is not available it would be very nice to get the information what path/file is a problem. Something like:
if self.file:
raise exceptions.InvalidImageFormatError(
"The source file does not appear to be an image".format(self.file.path))
else:
raise exceptions.InvalidImageFormatError(
"The source file does not appear to be an image")
The text was updated successfully, but these errors were encountered:
easy-thumbnails/easy_thumbnails/files.py
Line 386 in 410db9a
When a file is not available it would be very nice to get the information what path/file is a problem. Something like:
if self.file:
raise exceptions.InvalidImageFormatError(
"The source file does not appear to be an image".format(self.file.path))
else:
raise exceptions.InvalidImageFormatError(
"The source file does not appear to be an image")
The text was updated successfully, but these errors were encountered: