real error message

Co-authored-by: vee <vendicated@riseup.net>
This commit is contained in:
Cookie 2024-07-04 14:04:53 -04:00 committed by GitHub
parent bd08e185f3
commit b45fd3aebd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {