This commit is contained in:
parent
d748c9ae0e
commit
ca540aff99
1 changed files with 4 additions and 1 deletions
|
@ -151,4 +151,7 @@ class BubaAnimator:
|
||||||
a.run()
|
a.run()
|
||||||
|
|
||||||
def add(self, animation, *args, **kwargs):
|
def add(self, animation, *args, **kwargs):
|
||||||
self.animations.append(animation(self.buba, *args, **kwargs))
|
try:
|
||||||
|
self.animations.append(animation(self.buba, *args, **kwargs))
|
||||||
|
except Exception as e:
|
||||||
|
self.log.error(f"Failed to add animation: {e}")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue