mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Catch all errors in the worker thread and print msg.
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@261 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
This commit is contained in:
parent
8373fe543f
commit
cae0868921
@ -61,6 +61,11 @@ class AlgorithmExecutor(QThread):
|
||||
self.error.emit(e.msg)
|
||||
except BaseException,e:
|
||||
self.error.emit(str(e))
|
||||
print str(e)
|
||||
# catch *all* errors, because QGIS tries to handle them in the GUI, which is fatal, this
|
||||
# being a separate thread.
|
||||
except:
|
||||
print "Error executing " + str(self)
|
||||
|
||||
def runalgIterating(self):
|
||||
outputs = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user