Commit 640dbb93 authored by Claas Faber's avatar Claas Faber
Browse files

swapped general Exception to specific OsisUnderwayConnectorError

parent a5da5d52
Pipeline #75252 failed with stages
in 1 minute and 6 seconds
from osisunderwayconnector import OsisUnderwayConnector
from osisunderwayconnector import OsisUnderwayConnector, OsisUnderwayConnectorError
import mariqt.geo as miqtg
import mariqt.files as miqtf
......@@ -57,7 +57,7 @@ class MarIQTConnector(OsisUnderwayConnector):
use_payload = False
if len(payloads) > 0 and len(payloads) != positions.len():
raise Exception("Positions and payload lengths do not match!")
raise OsisUnderwayConnectorError("Positions and payload lengths do not match!")
else:
use_payload = True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment