A bit broader exception handling

This commit is contained in:
Sybren A. Stüvel 2017-01-31 18:29:00 +01:00
parent cc690ec8c9
commit d9e2b36204

View File

@ -189,7 +189,7 @@ class FLAMENCO_OT_render(async_loop.AsyncModalOperatorMixin,
settings,
'Render %s' % filepath.name,
priority=scene.flamenco_render_job_priority)
except sdk_exceptions.ResourceInvalid as ex:
except Exception as ex:
self.report({'ERROR'}, 'Error creating Flamenco job: %s' % ex)
self.quit()
return