<#6298 fix: return nil instead of error directly> ...
# flyte-github
c
#6298 fix: return nil instead of error directly Pull request opened by rustco Tracking issue Why are the changes needed? The logic of err not being nil has been processed and returned before, so err must be nil here. What changes were proposed in this pull request? How was this patch tested? Labels Please add one or more of the following labels to categorize your PR: • fixed: For any bug fixed. This is important to improve the readability of release notes. Setup process Screenshots Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. Related PRs Docs link Summary by Bito This pull request fixes a bug in error handling by modifying return statements in pbhash module and marshal utilities. The changes ensure functions return nil for error values when no errors occur, leading to cleaner and more reliable error management. Unit tests added: False Estimated effort to review (1-5, lower is better): 1 flyteorg/flyte