Skip to content

Commit 41c9da9

Browse files
committedJan 6, 2016
[processing] More informative message when cannot compute gdal commands due to wrong params
1 parent 943b101 commit 41c9da9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎python/plugins/processing/algs/gdal/GdalAlgorithmDialog.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,7 @@ def parametersHaveChanged(self):
6969
commands = self.alg.getConsoleCommands()
7070
commands = [c for c in commands if c not in ['cmd.exe', '/C ']]
7171
self.text.setPlainText(" ".join(commands))
72+
except AlgorithmDialogBase.InvalidParameterValue, e:
73+
self.text.setPlainText("Invalid value for parameter '%s'" % e.parameter.description)
7274
except:
7375
self.text.setPlainText("")

0 commit comments

Comments
 (0)
Please sign in to comment.