migra icon indicating copy to clipboard operation
migra copied to clipboard

An exit code for bad connections or databases

Open cep21 opened this issue 5 years ago • 1 comments

Hi,

I'm using migra as part of my CI/CD pipeline. I understand wanting migra's error code to match diff's, but for a CI/CD pipeline I want to differentiate between a bad database connection, and a ok database connection, but diff output. Is there a way to have an exit code for python exceptions, failed database connections, invalid passwords, etc: all the things that aren't "we could connect, but a diff did or did not exist"

cep21 avatar Aug 14 '20 05:08 cep21

Related to #161

tysonclugg avatar Sep 01 '21 06:09 tysonclugg