mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-09-30 03:31:27 +02:00
* Propagate errors during route building This fixes cases such as invalid paths being silently discarded after creation by throwing a visible error in such cases. Due to the way gorilla/mux's fluent API is designed, it is necessary to manually call `.GetError()` to check for errors while building routes. Signed-off-by: Simon Engmann <simon.engmann@sovity.de> * Add test for route building error propagation Signed-off-by: Simon Engmann <simon.engmann@sovity.de> * Add route building error propagation to changelog Signed-off-by: Simon Engmann <simon.engmann@sovity.de> --------- Signed-off-by: Simon Engmann <simon.engmann@sovity.de> Co-authored-by: Simon Engmann <simon.engmann@sovity.de>