Skip to content

Commit f93959e

Browse files
committed
fix: do not exit on unknown status
1 parent 06b247a commit f93959e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class IsOpenManager {
4141
} else if (status === "CLOSED\n") {
4242
this._isOpen = false;
4343
} else {
44-
throw Error(`Unkown status: ${status}`);
44+
console.log(`[-] Unkown status: ${status}`);
4545
}
4646

4747
if(this._isOpen != prevState){

0 commit comments

Comments
 (0)