Skip to content
Browse files
[processing] show error message when execution of algorithm from cons…
…ole failed
  • Loading branch information
volaya committed Jun 23, 2015
1 parent 06d250e commit 6e4113f0008d0747b3bbce8a6e9fcbfe36b2be9e
Showing with 6 additions and 2 deletions.
  1. +6 −2 python/plugins/processing/core/
@@ -349,8 +349,12 @@ def runAlgorithm(algOrName, onFinish, *args):
if iface is not None :
progress = MessageBarProgress(
ret = runalg(alg, progress)
if onFinish is not None and ret:
onFinish(alg, progress)
if ret:
if onFinish is not None:
onFinish(alg, progress)
print ("There were errors executing the algorithm.\n"
"Check the QGIS log to get more information")

if iface is not None:

0 comments on commit 6e4113f

Please sign in to comment.