Open gavmck opened 6 years ago
UpUp.start should fail silently when not supported.
Throws an error: TypeError: null is not an object (evaluating 'UpUp.start')
Still return an object from UpUp so you can call UpUp.start without it exploding.
We catch JS errors in our app and forward to /error, which tries to load upup which causes a js error which forwards to /error in an infinite loop
Expected Behavior
UpUp.start should fail silently when not supported.
Current Behavior
Throws an error: TypeError: null is not an object (evaluating 'UpUp.start')
Possible Solution
Still return an object from UpUp so you can call UpUp.start without it exploding.
Context
We catch JS errors in our app and forward to /error, which tries to load upup which causes a js error which forwards to /error in an infinite loop
Your Environment