Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Fix error return bug and some minor code style #4234

Merged
merged 3 commits into from
Apr 26, 2023

Conversation

mindaugasrukas
Copy link
Contributor

What changed?
Fixed some checks to return an error instead of always returning a nil.

Why?
Bigfix

How did you test it?
Unittest

Potential risks
That was made intentionally.

Is hotfix candidate?
Revert

@mindaugasrukas mindaugasrukas requested a review from a team as a code owner April 26, 2023 17:18
@mindaugasrukas mindaugasrukas changed the title Fix error return bug and some minor code style [WIP] Fix error return bug and some minor code style Apr 26, 2023
@mindaugasrukas
Copy link
Contributor Author

Working on adding tests..

@mindaugasrukas mindaugasrukas merged commit c0029aa into temporalio:master Apr 26, 2023
@mindaugasrukas mindaugasrukas deleted the code-style branch April 27, 2023 16:42
samanbarghi pushed a commit to samanbarghi/temporal that referenced this pull request May 2, 2023
* Fix error return bug and some minor code style

* Add unit tests

* Update error formatting
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.

2 participants