Skip to content

Commit

Permalink
add exception messages for WayScience#15
Browse files Browse the repository at this point in the history
  • Loading branch information
d33bs committed Nov 6, 2024
1 parent b534504 commit 6203d82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cytodataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,9 +712,9 @@ def process_image_data_as_html_display(
# Get the PNG byte data
png_bytes = png_bytes_io.getvalue()

except (FileNotFoundError, ValueError):
except (FileNotFoundError, ValueError) as exc:
# return the raw data value if we run into an exception of some kind
print("Unable to process image from {candidate_path}")
print(f"Unable to process image from {candidate_path} due to {exc}")
return data_value

return (
Expand Down

0 comments on commit 6203d82

Please sign in to comment.