Files
Matt GodboltandClaude bd8314e6d7 Fix TypeScript compilation error by removing invalid .on('error') handler
The code attempted to attach an .on('error') handler directly to the Express
app, but Express apps don't emit 'error' events - they're JavaScript functions,
not EventEmitters. Server-level errors are emitted by the http.Server instance
returned by app.listen(), not the Express app itself.

Runtime request/response errors in Express are properly handled through
error-handling middleware (already present at lib/app/server-config.ts:75-83)
and Sentry's error handler (line 72), making the .on('error') call both
ineffective and redundant.

The stricter Express type definitions in the dependency update correctly
reject this incorrect pattern.

References:
- https://github.com/expressjs/express/issues/1860
- https://expressjs.com/en/guide/error-handling.html

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-22 10:12:41 -05:00
..
2025-10-02 14:05:56 -05:00
2021-10-05 01:45:05 +02:00
2019-08-21 01:26:16 +02:00
2025-01-29 10:41:03 -06:00
2021-09-13 20:22:27 +02:00
2024-10-27 15:28:38 +02:00
2024-10-26 17:42:22 +02:00
2024-03-08 22:25:09 -06:00
2025-07-28 10:34:46 -05:00
2024-03-08 22:25:09 -06:00
2024-03-08 22:25:09 -06:00
2024-03-08 22:25:09 -06:00
2023-07-10 21:31:04 -05:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2024-03-08 22:25:09 -06:00
2024-03-08 22:25:09 -06:00
2024-03-08 22:25:09 -06:00
2025-07-28 10:34:46 -05:00
2024-03-08 22:25:09 -06:00
2025-07-28 10:34:46 -05:00