Skip to content
This repository has been archived by the owner on Jun 1, 2019. It is now read-only.

Commit

Permalink
exit on connection failure
Browse files Browse the repository at this point in the history
  • Loading branch information
pantsel committed Jul 19, 2018
1 parent 6858ffc commit 40114b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makedb/dbs/pg.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ module.exports = {

}else{
console.error("Failed to connect to DB",err);
return next(err);
process.exit(1);
}
}else{
console.log("Database exists. Continue...");
Expand Down

0 comments on commit 40114b5

Please sign in to comment.