Skip to content
Permalink
Browse files

[processing] More informative message when cannot compute gdal comman…

…ds due to wrong params
  • Loading branch information
volaya committed Jan 6, 2016
1 parent 943b101 commit 41c9da9b0bb4653b280b5c46283b711005b8e986
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/plugins/processing/algs/gdal/GdalAlgorithmDialog.py
@@ -69,5 +69,7 @@ def parametersHaveChanged(self):
commands = self.alg.getConsoleCommands()
commands = [c for c in commands if c not in ['cmd.exe', '/C ']]
self.text.setPlainText(" ".join(commands))
except AlgorithmDialogBase.InvalidParameterValue, e:
self.text.setPlainText("Invalid value for parameter '%s'" % e.parameter.description)
except:
self.text.setPlainText("")

0 comments on commit 41c9da9

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