Monday, February 8, 2016
2 changes · master
Resolved issues and error corrections
This fix ensures the web interface does not get stuck waiting indefinitely if a background request for the company menu fails. Users can continue using the systray and interface instead of experiencing a stalled startup state.
Original PR description
If the RPC fails, the deferred is never resolved nor rejected, so the deferred given by willStart will stay in a 'pending' state As the deferred is expected to be resolved or rejected to launch the systray to continue, we have to catch this case too.
This fixes an issue where the company switcher could remain stuck loading if a server request failed. Users can now continue using the interface instead of being blocked by an endless pending state, and the related asset is loaded in the correct backend bundle.
Original PR description
If the RPC fails, the deferred is never resolved nor rejected, so the deferred given by willStart will stay in a 'pending' state As the deferred is expected to be resolved or rejected to launch the systray to continue, we have to catch this case too. Also: The file was imported is assets_common instead of assets_backend