python-bioformats icon indicating copy to clipboard operation
python-bioformats copied to clipboard

Trying to log an error results in another error

Open manthey opened this issue 3 years ago • 0 comments

I'm getting this when there is a heap error:

 File "site-packages/bioformats/formatreader.py", line 674, in __init__
    self.init_reader()
  File "site-packages/bioformats/formatreader.py", line 735, in init_reader
    logger.warn(e.message)
AttributeError: 'JavaException' object has no attribute 'message'

The offending line in formatreader.py is logger.warn(e.message).

manthey avatar Sep 17 '20 20:09 manthey