Skip to content

Commit 3039f13

Browse files
committedFeb 17, 2016
improve error message in the modeler
1 parent da65e54 commit 3039f13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎python/plugins/processing/modeler/ModelerAlgorithm.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,9 @@ def prepareAlgorithm(self, alg):
386386
if not param.setValue(value) and not isinstance(param,
387387
ParameterDataObject):
388388
raise GeoAlgorithmExecutionException(
389-
self.tr('Wrong value: %s', 'ModelerAlgorithm') % value)
389+
self.tr('Wrong value %s for %s %s', 'ModelerAlgorithm')
390+
% (value, param.__class__.__name__, param.name))
391+
390392
for out in algInstance.outputs:
391393
if not out.hidden:
392394
if out.name in alg.outputs:

0 commit comments

Comments
 (0)
Please sign in to comment.