Skip to content

Commit

Permalink
return Add error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
phbnf committed Aug 21, 2024
1 parent 3937912 commit bcca751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion personalities/sctfe/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ func addChainInternal(ctx context.Context, li *logInfo, w http.ResponseWriter, r
klog.V(2).Infof("%s: %s => storage.Add", li.LogOrigin, method)
idx, err := li.storage.Add(ctx, entry)
if err != nil {
return http.StatusInternalServerError, fmt.Errorf("couldn't store the leaf")
return http.StatusInternalServerError, fmt.Errorf("couldn't store the leaf: %v", err)
}

// Always use the returned leaf as the basis for an SCT.
Expand Down

0 comments on commit bcca751

Please sign in to comment.