Added mildly useful error messages for console in popup.js
This commit is contained in:
parent
196079700a
commit
0e8653129a
1 changed files with 4 additions and 4 deletions
|
@ -1088,16 +1088,16 @@ Logic.registerPanel(P_CONTAINER_EDIT, {
|
||||||
proxifiedContainers.set(identity.cookieStoreId, DEFAULT_PROXY, error.error === "uninitialized").then((result) => {
|
proxifiedContainers.set(identity.cookieStoreId, DEFAULT_PROXY, error.error === "uninitialized").then((result) => {
|
||||||
edit_proxy_dom(result);
|
edit_proxy_dom(result);
|
||||||
}, (error) => {
|
}, (error) => {
|
||||||
proxifiedContainers.report_proxy_error(error, "popup.js: error 1");
|
proxifiedContainers.report_proxy_error(error, "popup.js: unexpected set(...) error");
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
proxifiedContainers.report_proxy_error(error, "popup.js: error 2");
|
proxifiedContainers.report_proxy_error(error, "popup.js: unexpected set(...) exception");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
proxifiedContainers.report_proxy_error(error, "popup.js: error 3");
|
proxifiedContainers.report_proxy_error(error, "popup.js: unknown error");
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
proxifiedContainers.report_proxy_error(err, "popup.js: error 4");
|
proxifiedContainers.report_proxy_error(err, "popup.js: unexpected retrieve error");
|
||||||
});
|
});
|
||||||
|
|
||||||
return Promise.resolve(null);
|
return Promise.resolve(null);
|
||||||
|
|
Loading…
Add table
Reference in a new issue