throws mysql error
Signed-off-by: Walamana <joniogerg@gmail.com>
This commit is contained in:
parent
c6c5cd43e4
commit
3a49236ba7
1
app.js
1
app.js
@ -26,6 +26,7 @@ con.connect(err => {
|
|||||||
console.log("Cant connect to MySQL database");
|
console.log("Cant connect to MySQL database");
|
||||||
console.log(err);
|
console.log(err);
|
||||||
cause = err;
|
cause = err;
|
||||||
|
throw err;
|
||||||
}
|
}
|
||||||
console.log("Connected to database!");
|
console.log("Connected to database!");
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user