feat(eda): capture schedule firings on a reserved source for bindings

This commit is contained in:
sam committed 2026-10-26 00:38:55 +11:00
1 parent 6cd9c4a7d8
commit 6ba6a595b8
9 files changed
+170 -1

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ func (s *Server) handleSourceCreate(w http.ResponseWriter, r *http.Request) {
return
}
src, err := source.New(req.Path)
if errors.Is(err, source.ErrInvalidPath) {
if errors.Is(err, source.ErrInvalidPath) || errors.Is(err, source.ErrReservedPath) {
http.Error(w, err.Error(), http.StatusBadRequest)
return
}