Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upMigrations do not give sufficient information about error cases #145
Comments
This comment has been minimized.
|
Today our output looks like this: We should be able to assume that errors will only occur because of a bad connection, or an error running a specific migration. It's clear in the output when a connection error occurred (though the output could be better here), and when an error occurs running a migration, it immediately follows the migration version. I'm not sure that there's much else we can do here. |
sgrif
closed this
Dec 16, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

sgrif commentedJan 30, 2016
I'm unsure if we ever actually expect migration failures to be handled. Perhaps we should actually be
unwraping from these functions. If not, we need to make sure our errors have sufficient information to be useful without a stacktrace, and not:QueryError(DatabaseError("near \"(\": syntax error"))