Skip to content

Commit

Permalink
error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmurakami committed Nov 24, 2020
1 parent 6acf8fc commit d8d3810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/pizzaStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const Pizza = pgClient.define('pizza', {
Pizza.initialize = async () => {
return Pizza.sync({ force: true }).then(() => {
console.log('postgres connection ready')
})
}).catch(err => console.error(err))
}

module.exports = Pizza

0 comments on commit d8d3810

Please sign in to comment.