Skip to content

Commit fa54e74

Browse files
authored
fix: error in list libraries endpoint (#151)
1 parent 1dd4b50 commit fa54e74

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
@@ -124,7 +124,7 @@ func HandleSketchListLibraries(idProvider *app.IDProvider) http.HandlerFunc {
124124

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

0 commit comments

Comments
 (0)