oq-engine should report source names and ids if exceptions are raised when oq-hazardlib sources are created
Bug #1154512 reported by
Lars Butler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Fix Released
|
Medium
|
Lars Butler |
Bug Description
When a hazardlib source is generated (from the NRML representation), oq-engine should have some general try-catch-all to catch errors and show a useful error message to the user, containing the name and id of the source so that the user can inspect his/her source model and quickly resolve the issue. Such errors can occur at runtime if, for example, the modeller has defined a source with invalid geometry.
Changed in openquake: | |
assignee: | nobody → matley (matley) |
status: | New → Fix Committed |
Changed in openquake: | |
status: | Fix Committed → Fix Released |
Changed in openquake: | |
status: | In Progress → Fix Committed |
Changed in openquake: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
There does not exist a check in oq-engine to propagate a useful error message to the user. I'll re-open this.