Print a better git error to the console

This commit is contained in:
Felix committed 2019-01-05 19:35:55 +01:00
1 parent 574af4b7fe
commit a159e29677
1 file changed
+1 -1
+1 -1
View File
@@ -217,7 +217,7 @@ class MigrationLinter(object):
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