Add and fix errorlint
This commit is contained in:
parent
2dde1242cf
commit
0c45f8d252
4 changed files with 5 additions and 6 deletions
2
utils.go
2
utils.go
|
@ -46,7 +46,7 @@ func decodeMsg(
|
|||
}
|
||||
// fmt.Println(string(decrypted))
|
||||
if err := json.Unmarshal(decrypted, output); err != nil {
|
||||
return fmt.Errorf("response: %v", err)
|
||||
return fmt.Errorf("response: %w", err)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue