mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 02:08:08 +02:00
[ui] Reconstruction: catch errors on graph execution
This commit is contained in:
parent
3fae2fbc57
commit
46463aa007
1 changed files with 6 additions and 2 deletions
|
@ -107,8 +107,12 @@ class Reconstruction(QObject):
|
|||
|
||||
def _execute(self, nodes):
|
||||
self.computingChanged.emit()
|
||||
graph.execute(self._graph, nodes)
|
||||
self.computingChanged.emit()
|
||||
try:
|
||||
graph.execute(self._graph, nodes)
|
||||
except Exception as e:
|
||||
logging.error("Error during Graph execution {}".format(e))
|
||||
finally:
|
||||
self.computingChanged.emit()
|
||||
|
||||
@Slot()
|
||||
def stopExecution(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue