Skip to content

Commit

Permalink
Merge pull request #457 from cymed/errormsg-twwnetwork
Browse files Browse the repository at this point in the history
add error message to twwnetwork
  • Loading branch information
ponceta authored Nov 5, 2024
2 parents 7679eb4 + e39bdd4 commit 3064a10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/teksi_wastewater/tools/twwnetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ def _addVertices(self):
try:
vertex = feat.geometry().asPoint()
except ValueError:
# TODO Add to problem log
pass
raise ValueError(f"No Point Geometry found for Node {obj_id} (Type: {obj_type})")

self.graph.add_node(fid, point=vertex, objType=obj_type, objId=obj_id)

self.vertexIds[str(obj_id)] = fid
Expand Down

0 comments on commit 3064a10

Please sign in to comment.