mirror of
https://github.com/fosrl/pangolin.git
synced 2026-09-04 18:29:21 +02:00
@@ -104,7 +104,8 @@ const processMessage = async (
|
||||
|
||||
const handler = messageHandlers[message.type];
|
||||
if (!handler) {
|
||||
throw new Error(`Unsupported message type: ${message.type}`);
|
||||
logger.debug(`No handler found for message type: ${message.type}`);
|
||||
return;
|
||||
}
|
||||
|
||||
const response = await handler({
|
||||
|
||||
@@ -353,7 +353,10 @@ const setupConnection = async (
|
||||
|
||||
const handler = messageHandlers[message.type];
|
||||
if (!handler) {
|
||||
throw new Error(`Unsupported message type: ${message.type}`);
|
||||
logger.debug(
|
||||
`No handler found for message type: ${message.type}`
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
const response = await handler({
|
||||
|
||||
Reference in New Issue
Block a user