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
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