mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 12:54:18 +02:00
internal/gofix and fix error wrapping (#76)
This commit is contained in:
@@ -158,7 +158,7 @@ func getApiData(
|
||||
}
|
||||
|
||||
if arerr != nil {
|
||||
ar.error = fmt.Errorf("failed to get data from API: %s", arerr)
|
||||
ar.error = fmt.Errorf("failed to get data from API: %w", arerr)
|
||||
}
|
||||
|
||||
reschan <- ar
|
||||
|
||||
Reference in New Issue
Block a user