Skip to content

Report the command that is failing

Created by: muffato

Use case

Since 2.5, the commands being run are by default hidden (they can be shown with the -hive_debug_init 1 flag), so if something goes wrong, you can only see the error message, not the command that caused the error.

Description

When the command fails, print it too, alongside the error message.

Possible Drawbacks

N/A

Testing

Have you added/modified unit tests to test the changes?

N/A

If so, do the tests pass/fail?

Have you run the entire test suite and no regression was detected?

Merge request reports