mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-04 00:06:46 -05:00
[processing tests] Improve test debug messages
This commit is contained in:
parent
0e690fc701
commit
01cc455d2d
@ -2,7 +2,7 @@
|
||||
|
||||
"""
|
||||
***************************************************************************
|
||||
GeoAlgorithmExecutionException.py
|
||||
GeoAlgorithm.py
|
||||
---------------------
|
||||
Date : August 2012
|
||||
Copyright : (C) 2012 by Victor Olaya
|
||||
@ -206,8 +206,10 @@ class GeoAlgorithm:
|
||||
self.convertUnsupportedFormats(progress)
|
||||
self.runPostExecutionScript(progress)
|
||||
except GeoAlgorithmExecutionException as gaee:
|
||||
lines = [self.tr('Uncaught error while executing algorithm')]
|
||||
lines.append(traceback.format_exc())
|
||||
ProcessingLog.addToLog(ProcessingLog.LOG_ERROR, gaee.msg)
|
||||
raise gaee
|
||||
raise GeoAlgorithmExecutionException(gaee.msg, lines, gaee)
|
||||
except Exception as e:
|
||||
# If something goes wrong and is not caught in the
|
||||
# algorithm, we catch it here and wrap it
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user