diff --git a/personalities/sctfe/handlers.go b/personalities/sctfe/handlers.go index eea7a656..e81ce78c 100644 --- a/personalities/sctfe/handlers.go +++ b/personalities/sctfe/handlers.go @@ -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.