diff --git a/src/imcflibs/imagej/bioformats.py b/src/imcflibs/imagej/bioformats.py
index 69cc5cbe3bfda944951c497699ead07dafb0d0ab..b5e822078e327552977d83d8f7361a85d51f7655 100644
--- a/src/imcflibs/imagej/bioformats.py
+++ b/src/imcflibs/imagej/bioformats.py
@@ -76,7 +76,7 @@ def export(imp, filename, overwrite=False):
     try:
         unit = imp.calibration.unit
         log.debug("Detected calibration unit: %s", unit)
-    except Error as err:
+    except Exception as err:
         log.error("Unable to detect spatial unit: %s", err)
         raise RuntimeError("Error detecting image calibration!")
     if unit == 'pixel' and (suffix == 'ics' or suffix == 'ids'):