Skip to content

Commit

Permalink
Replace ERROR with WARNING based on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonnnj committed Aug 27, 2020
1 parent 5b3126b commit 4eb817f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lineage/entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def run(
logging.info(f"✅ (error ok) return code: {proc.returncode}")
elif on_error == OnError.WARN:
logging.warning(proc.stdout.decode())
logging.warning(f"⚠️ ERROR! return code: {proc.returncode}")
logging.warning(f"⚠️ WARNING! return code: {proc.returncode}")
else: # OnError.FAIL
logging.fatal(proc.stdout.decode())
logging.fatal(f"❌ ERROR! return code: {proc.returncode}")
Expand Down Expand Up @@ -186,7 +186,7 @@ def push(
"""Push changes to remote."""
if not repo.permissions.push:
logging.warning(
f"⚠️ ERROR! Missing 'push' permission on '{repo.owner.login}/{repo.name}'"
f"⚠️ WARNING! Missing 'push' permission on '{repo.owner.login}/{repo.name}'"
)
return False
else:
Expand Down

0 comments on commit 4eb817f

Please sign in to comment.