Skip to content

Commit

Permalink
[processing] Fix invalid logging error
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 1, 2017
1 parent 79d79d6 commit dde48b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/AlgorithmExecutor.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def execute(alg, context=None, feedback=None):
alg.execute(context, feedback)
return True
except GeoAlgorithmExecutionException as e:
QgsMessageLog.logMessage(sys.exc_info()[0], 'Processing', QgsMessageLog.CRITICAL)
QgsMessageLog.logMessage(str(sys.exc_info()[0]), 'Processing', QgsMessageLog.CRITICAL)
if feedback is not None:
feedback.reportError(e.msg)
return False
Expand Down

0 comments on commit dde48b5

Please sign in to comment.