Skip to content

Commit

Permalink
better error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
aivantg committed Dec 11, 2018
1 parent 0a8c0da commit f606321
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions js/data.js
Expand Up @@ -9,6 +9,7 @@ var connection = mysql.createConnection({
connection.connect(function(err) {
if(err) {
console.log("Sad, error")
console.log(err)
}else {
console.log("Woooo!")
}
Expand Down

0 comments on commit f606321

Please sign in to comment.