Skip to content
Permalink
Browse files

improve error message in the modeler

  • Loading branch information
Gustry authored and alexbruy committed Mar 7, 2016
1 parent 9842dd7 commit 66b66c593748984501b8eaf2a404860c484ebbe6
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 66b66c5

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