fix backend bug again

This commit is contained in:
Jack committed 2026-06-09 10:36:35 +08:00
1 parent 5cc21a51e1
commit 73525899e7
3 files changed
+71

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
const errs = [
"Table 'nutrition.users' doesn't exist",
"connect ECONNREFUSED 172.18.0.2:3306",
"connect ECONNREFUSED db:3306",
"Unknown database 'nutrition'"
];
errs.forEach(e => {
const json = JSON.stringify({ error: e });
console.log(Buffer.byteLength(json), json);
});