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

_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to