Error cause property is not displayed when d->m event dispatcher errors #56

Closed
opened 2025-03-07 13:05:43 +00:00 by cadence · 1 comment
Owner

Console output:

request error: TypeError: fetch failed                            at node:internal/deps/undici/undici:12345:11                  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)                                               at fn (/home/cloud/Code/out-of-your-element/node_modules/snowtransfer/src/RequestHandler.ts:429:18)                         at wrapped (/home/cloud/Code/out-of-your-element/node_modules/snowtransfer/src/RequestHandler.ts:115:14)                    at exports.AsyncSequentialQueue._next (/home/cloud/Code/out-of-your-element/node_modules/snowtransfer/src/RequestHandler.ts:145:3) {                                                    cause: ConnectTimeoutError: Connect Timeout Error                 at onConnectTimeout (node:internal/deps/undici/undici:7492:28)                                                              at node:internal/deps/undici/undici:7448:50
      at Immediate._onImmediate (node:internal/deps/undici/undici:7480:13)
      at process.processImmediate (node:internal/timers:478:21)
      at process.topLevelDomainCallback (node:domain:160:15)
      at process.callbackTrampoline (node:internal/async_hooks:128:24) {
    code: 'UND_ERR_CONNECT_TIMEOUT'
  }
}
Exception while processing a m.room.message Matrix event:
{
  age: 39,
  ...

(why does it say "request error"? snowtransfer thing?)

Anyway, that's fine. Message screenshot attached, the cause needs to be added there.

Console output: ``` request error: TypeError: fetch failed at node:internal/deps/undici/undici:12345:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at fn (/home/cloud/Code/out-of-your-element/node_modules/snowtransfer/src/RequestHandler.ts:429:18) at wrapped (/home/cloud/Code/out-of-your-element/node_modules/snowtransfer/src/RequestHandler.ts:115:14) at exports.AsyncSequentialQueue._next (/home/cloud/Code/out-of-your-element/node_modules/snowtransfer/src/RequestHandler.ts:145:3) { cause: ConnectTimeoutError: Connect Timeout Error at onConnectTimeout (node:internal/deps/undici/undici:7492:28) at node:internal/deps/undici/undici:7448:50 at Immediate._onImmediate (node:internal/deps/undici/undici:7480:13) at process.processImmediate (node:internal/timers:478:21) at process.topLevelDomainCallback (node:domain:160:15) at process.callbackTrampoline (node:internal/async_hooks:128:24) { code: 'UND_ERR_CONNECT_TIMEOUT' } } Exception while processing a m.room.message Matrix event: { age: 39, ... ``` (why does it say "request error"? snowtransfer thing?) Anyway, that's fine. Message screenshot attached, the cause needs to be added there.
Author
Owner

Should be fixed in dd63ac7d44

Should be fixed in dd63ac7d446b152fcfe953f28d42f04900e018bd
Sign in to join this conversation.
No labels
blocking
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: cadence/out-of-your-element#56
No description provided.