Skip to content

Commit

Permalink
Print a better git error to the console
Browse files Browse the repository at this point in the history
  • Loading branch information
flixx committed Jan 5, 2019
1 parent 574af4b commit a159e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_migration_linter/migration_linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def _gather_migrations_git(self, git_commit_id):
output = []
for line in map(utils.clean_bytes_to_str, diff_process.stderr.readlines()):
output.append(line)
logger.info("Error while git diff command:\n{}".format("".join(output)))
logger.error("Error while git diff command:\n{}".format("".join(output)))
raise Exception("Error while executing git diff command")
return migrations

Expand Down

0 comments on commit a159e29

Please sign in to comment.