[QGIS-Developer] Detailed error information from processing.run
Tejas L
tejvan at live.com
Fri Oct 18 03:26:42 PDT 2019
Hello Devs,
I would like to get a detailed error messages when processing.run fails.
For: e.g. in code like ths
try:
buffered_layer = processing.run(..., context, feedback)['OUTPUT']
except QgsProcessingException as e:
print (e) // 'There were errors executing the algorithm.'
The exception message is very generic. The processing log window does show a more detailed message like: "GEOS processing error: intersection failed".
Could the detailed message also be made available in the exception?
Regards,
Tej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20191018/bd622694/attachment.html>
More information about the QGIS-Developer
mailing list