9b0d251d1c3ad3e07c61984a1fda29eded2b0663
Add sanitizeError() helper that strips file paths, stack traces, SQLite errors, and system errors from messages before returning them to clients. Applied to all route-level catch blocks in payments, queue, fights, and admin routes. Includes 12 tests for the sanitizer and static analysis test verifying no route files leak raw err.message. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Description
BotFights — bot competition arena with arcade fighting mode. Main repo (migrated from git.tx1138.com/lfg2025/botfight).
8.9 MiB
Languages
TypeScript
81.6%
Vue
16.7%
JavaScript
1.3%
CSS
0.2%