internal/gofix and fix error wrapping (#76)

This commit is contained in:
T. von Dein
2026-07-07 10:41:34 +02:00
parent f10366dbde
commit b8e0ee074c
28 changed files with 109 additions and 119 deletions

View File

@@ -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