matrix-public-archive/server/lib
Eric Eastwood bdaa98e722
Make the `child_process` error catching more robust (`uncaughtException`) (#51)
Split off from https://github.com/matrix-org/matrix-public-archive/pull/43

Listen to `process.on('uncaughtException', ...)` and handle the async errors ourselves so it no longer fails the child process.

And if the process does exit with status code 1 (error), we have those underlying errors serialized and shown.
2022-08-29 19:13:56 -05:00
..
config.js Explain how config inherits (#17) 2022-06-09 21:37:07 -05:00
express-async-handler.js Fix lints 2022-02-15 21:33:31 -06:00
fetch-endpoint.js Make sure container is able to start up (#23) 2022-06-15 17:12:44 -05:00
rethrown-error.js Make the `child_process` error catching more robust (`uncaughtException`) (#51) 2022-08-29 19:13:56 -05:00
safe-json.js OpenTelemetry tracing so we can see spans where the app is taking time (#27) 2022-07-14 11:08:50 -05:00
sanitize-html.js OpenTelemetry tracing so we can see spans where the app is taking time (#27) 2022-07-14 11:08:50 -05:00
status-error.js Stop restarting server when the client bundle updates 2022-02-15 17:30:30 -06:00