mirror of
https://github.com/coalaura/whiskr.git
synced 2025-12-02 20:22:52 +00:00
log errors
This commit is contained in:
@@ -1255,6 +1255,8 @@
|
||||
return;
|
||||
}
|
||||
|
||||
console.error(err);
|
||||
|
||||
callback({
|
||||
type: "error",
|
||||
data: err.message,
|
||||
@@ -1592,6 +1594,8 @@
|
||||
return;
|
||||
}
|
||||
|
||||
console.error(err);
|
||||
|
||||
notify(err);
|
||||
}
|
||||
|
||||
@@ -2296,6 +2300,8 @@
|
||||
|
||||
download("request.json", "application/json", JSON.stringify(dumped.request, null, 4));
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
|
||||
notify(err);
|
||||
}
|
||||
|
||||
@@ -2335,6 +2341,8 @@
|
||||
|
||||
$authentication.classList.remove("open");
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
|
||||
$authError.textContent = `Error: ${err.message}`;
|
||||
$authentication.classList.add("errored");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user