Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Migration Failure Exits with Error Code 0 #10

Closed
grahamc opened this Issue · 0 comments

2 participants

@grahamc
$ ./node_modules/db-migrate/bin/db-migrate --config database.json -e dev up; echo $?
[ERROR] { [Error: connect ECONNREFUSED]
  code: 'ECONNREFUSED',
  errno: 'ECONNREFUSED',
  syscall: 'connect' }
0

I would have expected it to exit with a non-zero to indicate a failure, allowing scripts to bail out appropriately.

@kunklejr kunklejr closed this in bc952d3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.