You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/10/16 14:31:57 UTC

[GitHub] [airflow] ashb commented on issue #10976: Airflow bash operator to log error when command exits with non zero exit code

ashb commented on issue #10976:
URL: https://github.com/apache/airflow/issues/10976#issuecomment-710083310


   The reason it never got as far as showing the existing "Bash command failed" is because of your `run_as_user` and the sudo call failed, so it didn't even get to running the task code.
   
   But as it shows in your log, it says `Task exited with return code 1` -- so it is showing you the exit code.
   
   I'm not sure what else you are expecting it to say?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org