google chrome alert() in reloading windows

Issue #92 closed
dd1 created an issue

in google chrome, often an alert() for an rpc error is thrown when reloading midas windows, i.e. switching from status page to some other page, reload of status page to dismiss an alarm, etc. This is because rpc requests "in flight" when the window is reloaded are terminated with a generic "unknown error" status and our promise/exception handler catches this error and throws an alert() popup.

every browser does handles this differently, i.e. firefox has a preference setting to make "in-flight" rpcs just disappear without any error handling.

this problem will go away after we stop using alert() in the rpc error handlers. K.O.

Comments (2)

  1. Log in to comment