Skip to content

Commit

Permalink
Fix broken error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 16, 2017
1 parent 28c67e1 commit 34a9d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/gdal/GdalUtils.py
Expand Up @@ -113,7 +113,7 @@ def runGdal(commands, feedback=None):
retry_count += 1
else:
raise IOError(
e.message + u'\nTried 5 times without success. Last iteration stopped after reading {} line(s).\nLast line(s):\n{}'.format(
str(e) + u'\nTried 5 times without success. Last iteration stopped after reading {} line(s).\nLast line(s):\n{}'.format(
len(loglines), u'\n'.join(loglines[-10:])))

QgsMessageLog.logMessage('\n'.join(loglines), 'Processing', QgsMessageLog.INFO)
Expand Down

0 comments on commit 34a9d91

Please sign in to comment.