Skip to content

Commit 057c92c

Browse files
committed
fix: error in list libraries endpoint
1 parent ed4e465 commit 057c92c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/api/handlers/app_sketch_libs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func HandleSketchListLibraries(idProvider *app.IDProvider) http.HandlerFunc {
122122

123123
libraries, err := orchestrator.ListSketchLibraries(r.Context(), app)
124124
if err != nil {
125-
render.EncodeResponse(w, http.StatusInternalServerError, models.ErrorResponse{Details: "unable to clone app"})
125+
render.EncodeResponse(w, http.StatusInternalServerError, models.ErrorResponse{Details: "unable to list sketch libraries: " + err.Error()})
126126
return
127127
}
128128
render.EncodeResponse(w, http.StatusOK, SketchListLibraryResponse{

0 commit comments

Comments
 (0)