mirror of
https://github.com/fosrl/pangolin.git
synced 2026-09-19 09:09:51 +02:00
Change log to warn
This commit is contained in:
@@ -139,7 +139,7 @@ const processMessage = async (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error("Message handling error:", error);
|
logger.warn("Message handling error:", error);
|
||||||
// ws.send(JSON.stringify({
|
// ws.send(JSON.stringify({
|
||||||
// type: "error",
|
// type: "error",
|
||||||
// data: {
|
// data: {
|
||||||
|
|||||||
@@ -388,7 +388,7 @@ const setupConnection = async (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error("Message handling error:", error);
|
logger.warn("Message handling error:", error);
|
||||||
ws.send(
|
ws.send(
|
||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
type: "error",
|
type: "error",
|
||||||
|
|||||||
Reference in New Issue
Block a user