From 057c92c9724f240c1a776dfc64e668f6acd010e0 Mon Sep 17 00:00:00 2001 From: lucarin91 Date: Tue, 9 Dec 2025 18:18:17 +0100 Subject: [PATCH] fix: error in list libraries endpoint --- internal/api/handlers/app_sketch_libs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/handlers/app_sketch_libs.go b/internal/api/handlers/app_sketch_libs.go index 7e280a2f..ce89490f 100644 --- a/internal/api/handlers/app_sketch_libs.go +++ b/internal/api/handlers/app_sketch_libs.go @@ -122,7 +122,7 @@ func HandleSketchListLibraries(idProvider *app.IDProvider) http.HandlerFunc { libraries, err := orchestrator.ListSketchLibraries(r.Context(), app) if err != nil { - render.EncodeResponse(w, http.StatusInternalServerError, models.ErrorResponse{Details: "unable to clone app"}) + render.EncodeResponse(w, http.StatusInternalServerError, models.ErrorResponse{Details: "unable to list sketch libraries: " + err.Error()}) return } render.EncodeResponse(w, http.StatusOK, SketchListLibraryResponse{