Skip to content

Commit

Permalink
Catch-all failure case with empty GeometryCollection
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalrussell committed Nov 13, 2023
1 parent 7ab10c0 commit a64af79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snkit/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def merge_multilinestring(geom: Geometry) -> Geometry:
return geom_inb
else:
return geom
except:
except Exception:
return GeometryCollection()


Expand Down

0 comments on commit a64af79

Please sign in to comment.