Skip to content
Permalink
Browse files

improve error message in the modeler

  • Loading branch information
Gustry committed Feb 17, 2016
1 parent da65e54 commit 3039f13ea998f48c76b3b1de243dfe8efe49a0f1
Showing with 3 additions and 1 deletion.
  1. +3 −1 python/plugins/processing/modeler/ModelerAlgorithm.py
@@ -386,7 +386,9 @@ def prepareAlgorithm(self, alg):
if not param.setValue(value) and not isinstance(param,
ParameterDataObject):
raise GeoAlgorithmExecutionException(
self.tr('Wrong value: %s', 'ModelerAlgorithm') % value)
self.tr('Wrong value %s for %s %s', 'ModelerAlgorithm')
% (value, param.__class__.__name__, param.name))

for out in algInstance.outputs:
if not out.hidden:
if out.name in alg.outputs:

0 comments on commit 3039f13

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