Skip to content
Permalink
Browse files

[Processing] correctly report missing layers in postprocessing task

  • Loading branch information
volaya committed Dec 13, 2017
1 parent 1b8fa82 commit 0858652e84308aede0564e14e043a958a4e40ed2
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/plugins/processing/gui/Postprocessing.py
@@ -77,6 +77,8 @@ def handleAlgorithmResults(alg, context, feedback=None, showResults=True):
if style:
layer.loadNamedStyle(style)
details.project.addMapLayer(context.temporaryLayerStore().takeMapLayer(layer))
else:
wrongLayers.append(str(l))
except Exception:
QgsMessageLog.logMessage(QCoreApplication.translate('Postprocessing', "Error loading result layer:") + "\n" + traceback.format_exc(), 'Processing', QgsMessageLog.CRITICAL)
wrongLayers.append(str(l))

0 comments on commit 0858652

Please sign in to comment.
You can’t perform that action at this time.