Try to avoid the black screen again & improve error messages (#7327)
* Fix the black screen of death * fmt * make check * Clean up * Fix up zoom to fit * Change how emulateNetworkConditions work * Do NOT use browser's offline/online mechanisms * Fix test * Improve network error messages * Signal offline when failed event comes in * Don't use logic on components that only want a loader * Remove unnecessary pause state transition --------- Co-authored-by: jacebrowning <jacebrowning@gmail.com>
This commit is contained in:
@ -703,7 +703,8 @@ export async function sendSelectEventToEngine(
|
||||
cmd_id: uuidv4(),
|
||||
})
|
||||
if (!res) {
|
||||
return Promise.reject('no response')
|
||||
console.warn('No response')
|
||||
return undefined
|
||||
}
|
||||
|
||||
if (isArray(res)) {
|
||||
|
Reference in New Issue
Block a user