fix backend bug again
This commit is contained in:
1 parent
5cc21a51e1
commit
73525899e7
3 files changed
+71
No files matched your search
+10
@@ -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);
|
||||
});
|
||||
Reference in new issue
Block a user