Open vorderpneu opened 1 month ago
Hello @vorderpneu
if (S && typeof S.onComplete === 'function') {
S.onComplete(data.payload);
} else {
console.error('S is null or onComplete is not defined');
}
@neehhaa06 Yes, i already tried those two suggestions, but the error is still handled by the zone.js globalCallback error and that's why the angular app still doesn't know about those errors. Yes, i could override window.onerror to handle the error, but i want to avoid that.
My idea is to have an ErrorEvent similar to e.g. BMRenderFrameErrorEvent so that I can handle the Error in the Angular app
We use lottie-web in an Ionic app with Angular and ngrx-lottie to display an animation. For some time now, we have been seeing the following error in our error logs:
The error occurs here: https://github.com/airbnb/lottie-web/blob/0d658b34c40d4e81eafdccbf698815346454a899/player/js/utils/DataManager.js#L619
What is the reason that process can be null, and what would be the best way to handle this error properly?
Only iPhones and MacBooks are affected. Unfortunately, we have not been able to reproduce it on our own devices.
Browsers: Mobile Safari UI/WKWebView Apple Mail 605.1
OS Versions: iOS 15.6 iOS 15.7 iOS 15.8 iOS 16.3 iOS 16.7 iOS 17.5 Mac OS X 10.15