We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 459c0d5 commit f26c45eCopy full SHA for f26c45e
internal/grpc/grpc.go
@@ -269,8 +269,7 @@ func retrieveTokenFromFile(path string) (string, error) {
269
var keyVal string
270
keyBytes, err := os.ReadFile(path)
271
if err != nil {
272
- slog.Error("Unable to read token from file", "error", err)
273
- return "", err
+ return "", fmt.Errorf("unable to read token from file: %w", err)
274
}
275
276
keyBytes = bytes.TrimSpace(keyBytes)
0 commit comments