Replies: 1 comment 3 replies
-
|
I think it would make sense to log these errors as either |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We faced some issues related to failing animation loads using async DotLottie methods (#1956).
I figured error handling in DotLottie loading can be improved in some ways:
LottieLoggerto report any errors which are silent.handleResult(DotLottieError.invalidDatais too generic for debugging purposes and will be returned even in case there was some issue with opening/decompressing.lottiefile or manifest).Places where error reporting can be improved:
Do you think it would be better to send errors to LottieLogger or return them in
handleResultclosure?I am willing to help with the implementation.
Beta Was this translation helpful? Give feedback.
All reactions