real error message
Co-authored-by: vee <vendicated@riseup.net>
This commit is contained in:
parent
bd08e185f3
commit
b45fd3aebd
1 changed files with 1 additions and 2 deletions
|
@ -26,8 +26,7 @@ export function setBadgeCount(count: number) {
|
|||
switch (process.platform) {
|
||||
case "linux":
|
||||
if (typeof count !== "number") { //sanitize
|
||||
console.log("what the hel- *kaboom*")
|
||||
break;
|
||||
throw new Error("count must be a number");
|
||||
}
|
||||
|
||||
function emitDBusBadge(count: number, visible: boolean) {
|
||||
|
|
Loading…
Reference in a new issue