-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(exec): fix error handling in exec run and test actions (#6319)
* fix(exec): fix crash on artifacts copying errors Add missing handler for `CpyError`. Do not crash, throw a `RuntimeError` instead. * fix(exec): print command output after its execution Otherwise, it won't appear if case of artifacts copying error * refactor: rename local variable * fix(exec): return immediately if the test command fail Otherwise, a confusing error message on missing artifacts may appear. This also prevents duplicate logging of command output. * refactor: extract local variable * refactor: rename local variable * refactor: reorder fields declaration To have the same order as for run actions. * fix(exec): align the error handling of exec run and test commands * chore(exec): log action key instead of name in exec run * chore(exec): remove duplicate logs from result object * fix: propagate original error of unknown type * chore: linting
- Loading branch information
1 parent
4157472
commit 6a03430
Showing
3 changed files
with
72 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters