Undo uncomment of chain._reset

This commit is contained in:
joncrangle
2023-12-14 21:53:33 -05:00
parent e8255bd3a7
commit e4155f1d07

View File

@@ -390,7 +390,7 @@ func (chain *ProxyChain) SetDebugLogging(isDebugMode bool) *ProxyChain {
// this will prevent Execute from firing and reset the state // this will prevent Execute from firing and reset the state
// returns the initial error enriched with context // returns the initial error enriched with context
func (chain *ProxyChain) abort(err error) error { func (chain *ProxyChain) abort(err error) error {
defer chain._reset() // defer chain._reset()
chain.abortErr = err chain.abortErr = err
// chain.Context.Response().SetStatusCode(500) // chain.Context.Response().SetStatusCode(500)
// var e error // var e error