mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Fix broken error handling
This commit is contained in:
parent
28c67e1c01
commit
34a9d91488
@ -113,7 +113,7 @@ class GdalUtils(object):
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user