#679·comlink

caught error information lost

Author: tbrannamCreated Mar 10, 2025Updated Mar 10, 2025

In a development environment, it would be useful to capture the message and perhaps the stack caught by this exception handler.

https://github.com/GoogleChromeLabs/comlink/blob/fd4b52666b1ec62784f8b45cb1108c7e40bc481d/src/comlink.ts#L377

The default message is somewhat helpful, but the error.message information gives additional context which might be helpful in resolving the upstream defect.

Source: GoogleChromeLabs/comlink