Skip to content

Eval operation error code before creating conf#290

Merged
matth-x merged 2 commits intomainfrom
fix/no-conf-after-err
May 1, 2024
Merged

Eval operation error code before creating conf#290
matth-x merged 2 commits intomainfrom
fix/no-conf-after-err

Conversation

@matth-x
Copy link
Owner

@matth-x matth-x commented May 1, 2024

Change the order of when the Operation methods get called. Applies to incoming requests.

Before (on error): create confirmation response, then check if Operation instance returns error code, then discard confirmation and respond with error code.

Now (on error): check if Operation instance returns error code, respond with error code.

@matth-x matth-x marked this pull request as ready for review May 1, 2024 18:51
@matth-x matth-x merged commit abe44ba into main May 1, 2024
@matth-x matth-x deleted the fix/no-conf-after-err branch May 1, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant