diff --git a/ext/js/comm/api.js b/ext/js/comm/api.js index b044a78345..7a98feb159 100644 --- a/ext/js/comm/api.js +++ b/ext/js/comm/api.js @@ -395,7 +395,7 @@ export class API { resolve(/** @type {import('api').ApiReturn} */ (result)); } } else { - const message = response === null ? 'Unexpected null response' : `Unexpected response of type ${typeof response}`; + const message = response === null ? 'Unexpected null response. You may need to refresh the page.' : `Unexpected response of type ${typeof response}. You may need to refresh the page.`; reject(new Error(`${message} (${JSON.stringify(data)})`)); } });