Chore: capitalise logs in other backend packages (#74344)
* capitalise logs in observability logs * capitalise oss-bit-tent packages * capitalise logs in aws-datasources * capitalise logs for traces and profiling * capitalise logs for partner datasources * capitalise logs in plugins platform * capitalise logs for observability metrics
This commit is contained in:
@@ -131,7 +131,7 @@ func (kr *KeyRetriever) downloadKeys(ctx context.Context) error {
|
||||
defer func() {
|
||||
err := resp.Body.Close()
|
||||
if err != nil {
|
||||
kr.log.Warn("error closing response body", "error", err)
|
||||
kr.log.Warn("Error closing response body", "error", err)
|
||||
}
|
||||
}()
|
||||
|
||||
@@ -145,7 +145,7 @@ func (kr *KeyRetriever) downloadKeys(ctx context.Context) error {
|
||||
}
|
||||
|
||||
if err := json.Unmarshal(body, &data); err != nil {
|
||||
kr.log.Debug("error unmarshalling response body", "error", err, "body", string(body))
|
||||
kr.log.Debug("Error unmarshalling response body", "error", err, "body", string(body))
|
||||
return fmt.Errorf("error unmarshalling response body: %w", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user