Skip to content

Commit bf97b60

Browse files
committed
remove else
1 parent 71532e3 commit bf97b60

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/compass-web/scripts/ws-proxy.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ function decodeMessageWithTypeByte(message) {
102102
return JSON.parse(jsonStr);
103103
} else if (typeByte === 0x02) {
104104
return message.subarray(1);
105-
} else {
106-
logger.error('message does not have valid type byte "%s":', message);
107105
}
108106
}
109107

0 commit comments

Comments
 (0)