CellProfiler / python-bioformats

Read and write life sciences file formats
Other
131 stars 46 forks source link

Trying to log an error results in another error #136

Open manthey opened 4 years ago

manthey commented 4 years ago

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).