Skip to content

v2.6.0 Improve error handling, --version & -v flags

Compare
Choose a tag to compare
@VojtechVitek VojtechVitek released this 05 Mar 20:52
· 393 commits to master since this release
e4b9895
  • Improve error handling
    • use errors.Wrap() and propagate error context, ie. print SQL statement that caused the rollback
    • add missing error checks
    • remove log.Fatal() calls from the goose pkg - everything returns error and can be used as import library
  • Add --version flag to print current version of the binary
  • Add -v flag for "verbose" mode - for debugging purposes
  • Don't create goose_db_table on goose status