Despite my best efforts, I can’t figure out how to catch this error on a connection level.
As a result, right now, it’s crashing my entire application.
I would appreciate any insights into this…
The error log is as follows:
ConnectionClosedEvent {
time: 2024-09-23T08:44:30.4922, address: "ac-bgmdjtk-shard-00-01.hdszyte.mongodb.net:27017" ,
"connectionclosed",
connectionId: 22, reason:
"error"
serviceld: undefined, error: null
}
error: Uncaught (in promise) Error: read ECONNRESET
at __node_internal_captureLargerstackTrace (ext:deno_node/internal/errors.ts __node_internal_errnoException (ext:deno_node/internal/errors.ts:141:10)
at TCP. onstreamRead (ext:deno_node/internal/stream_base_commons.ts: 209:20)
at TCP.#read (ext: deno_node/internal_binding/stream_wrap.ts: 245:12)
at eventLoopTick (ext:core/01_core.js:175:7)