Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Feature: Improved error handling - try { } catch { }? #45

Open
blackandred opened this issue Aug 21, 2020 · 1 comment
Open

Feature: Improved error handling - try { } catch { }? #45

blackandred opened this issue Aug 21, 2020 · 1 comment
Labels
FEATURE New feature or request
Milestone

Comments

@blackandred
Copy link
Contributor

blackandred commented Aug 21, 2020

Problem to solve: Handling failed steps
Proposed solution: "finally_steps" attribute next to "steps". Finally steps could execute all the time (YAML syntax only)
Other solution to consider: In commandline introduce a symbol to mark tasks that should execute always regardless of result of previous tasks

@blackandred blackandred added this to the RKD 2.3 milestone Aug 21, 2020
@blackandred blackandred added the FEATURE New feature or request label Aug 21, 2020
@blackandred blackandred changed the title Feature: Improved error handling in YAML syntax Feature: Improved error handling - try { } catch { }? Aug 21, 2020
@blackandred
Copy link
Contributor Author

What about this? To consider.

steps:
            - "mkdir -p"
            - catch: "%RKD% :slack"
            - catch_all: "..."
            - finally: "%RKD% :cleanup"

@blackandred blackandred modified the milestones: RKD 2.3, RKD 2.4 Nov 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FEATURE New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant