Skip to content

Commit

Permalink
fix(backend.go): Remove unnecessary errors.join()
Browse files Browse the repository at this point in the history
Signed-off-by: Sophia Koehler <[email protected]>
  • Loading branch information
sophia1ch committed Jan 14, 2025
1 parent 81fe219 commit 3ead503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion channel/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func CalcID(p *Params) (ID, error) {
}

if lastErr != nil {
return ID{}, errors.Join(lastErr)
return ID{}, lastErr
}

return ID{}, errors.New("no valid ID found")
Expand Down

0 comments on commit 3ead503

Please sign in to comment.