gmponos / guzzle-log-middleware

A Guzzle middleware to log request and responses automatically
MIT License
73 stars 24 forks source link

GuzzleHandler now accepts errors as well as exceptions on failure #52

Open ossycodes opened 1 year ago

ossycodes commented 1 year ago

extend @mwolff-fn PR https://github.com/gmponos/guzzle-log-middleware/pull/50 plus new changes GuzzleHandler now accepts errors as well as exceptions on failure, so this line causes an issue return function (\Exception $reason) use ($request, $options) {.....}, my pr fixes this

dorrogeray commented 9 months ago

@gmponos any chance of getting this merged please? :pray:

ossycodes commented 9 months ago

@gmponos any update here please