diff --git a/src/snkit/network.py b/src/snkit/network.py index 9447a2a..1917cd4 100644 --- a/src/snkit/network.py +++ b/src/snkit/network.py @@ -315,7 +315,7 @@ def merge_multilinestring(geom: Geometry) -> Geometry: return geom_inb else: return geom - except: + except Exception: return GeometryCollection()