feat: enhance UI with commit pulsing animation and improved copy icon
Co-Authored-By: sketch <hello@sketch.dev>
Change-ID: s80fdaac660ea645ek
diff --git a/loop/server/loophttp.go b/loop/server/loophttp.go
index 94cbb78..ede1644 100644
--- a/loop/server/loophttp.go
+++ b/loop/server/loophttp.go
@@ -1381,7 +1381,10 @@
}
// Detect git changes to push and notify user
- s.agent.DetectGitChanges(r.Context())
+ if err = s.agent.DetectGitChanges(r.Context()); err != nil {
+ http.Error(w, fmt.Sprintf("Error detecting git changes: %v", err), http.StatusInternalServerError)
+ return
+ }
// Return simple success response
w.WriteHeader(http.StatusOK)