emersion / go-webdav

A Go library for WebDAV, CalDAV and CardDAV
MIT License
317 stars 67 forks source link

caldav/carddav: return errors instead of panic() #113

Closed bitfehler closed 9 months ago

bitfehler commented 1 year ago

Removes all remaining panic()'s, so that the server will keep working if clients attempt any of the unsupported features.

emersion commented 1 year ago

The panics are inside HTTP handlers, so they won't crash the whole server.