mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
Merged in feature/PYPE-235_ftrack_minor_fixes (pull request #91)
added log that action has finished Approved-by: Milan Kolar <milan@orbi.tools>
This commit is contained in:
commit
fa76207875
1 changed files with 5 additions and 5 deletions
|
|
@ -92,12 +92,12 @@ class BaseHandler(object):
|
|||
label = '{} {}'.format(self.label, self.variant)
|
||||
|
||||
try:
|
||||
self.log.info((
|
||||
'{} "{}" Launched'
|
||||
).format(self.type, label))
|
||||
return func(*args, **kwargs)
|
||||
self.log.info(('{} "{}": Launched').format(self.type, label))
|
||||
result = func(*args, **kwargs)
|
||||
self.log.info(('{} "{}": Finished').format(self.type, label))
|
||||
return result
|
||||
except Exception as e:
|
||||
self.log.error('{} "{}": Launch failed ({})'.format(
|
||||
self.log.error('{} "{}": Failed ({})'.format(
|
||||
self.type, label, str(e))
|
||||
)
|
||||
return wrapper_launch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue