Skip to content

Commit ff5d651

Browse files
committed
cat errors from set function
1 parent 323a170 commit ff5d651

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

handler.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ func (self *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
155155
// set uploads to operations
156156
for file, paths := range uploads {
157157
for _, path := range paths {
158-
set(file, operations, path)
158+
if err := set(file, operations, path); err != nil {
159+
panic(err)
160+
}
159161
}
160162
}
161163
}

0 commit comments

Comments
 (0)