fix
This commit is contained in:
parent
16f349df23
commit
0b9c0d1e37
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ func HandleError(err error) {
|
|||
}
|
||||
}
|
||||
|
||||
func PassthroughError[T any](val T, err error) any {
|
||||
func PassthroughError[T any](val T, err error) T {
|
||||
HandleError(err)
|
||||
return val
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue