Skip to content

Commit

Permalink
improve error message in the modeler
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry authored and alexbruy committed Mar 7, 2016
1 parent 9842dd7 commit 66b66c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/plugins/processing/modeler/ModelerAlgorithm.py
Expand Up @@ -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:
Expand Down

0 comments on commit 66b66c5

Please sign in to comment.