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
-
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:
LottieLogger
to report any errors which are silent.handleResult
(DotLottieError.invalidData
is too generic for debugging purposes and will be returned even in case there was some issue with opening/decompressing.lottie
file 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
handleResult
closure?I am willing to help with the implementation.
Beta Was this translation helpful? Give feedback.
All reactions