File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 24
24
use Bitbucket \HttpClient \Builder ;
25
25
use Bitbucket \HttpClient \Message \ResponseMediator ;
26
26
use Bitbucket \HttpClient \Plugin \Authentication ;
27
- use Bitbucket \HttpClient \Plugin \BitbucketExceptionThrower ;
27
+ use Bitbucket \HttpClient \Plugin \ExceptionThrower ;
28
28
use Bitbucket \HttpClient \Plugin \History ;
29
29
use Http \Client \Common \Plugin \AddHostPlugin ;
30
30
use Http \Client \Common \Plugin \HeaderDefaultsPlugin ;
@@ -102,7 +102,7 @@ public function __construct(Builder $httpClientBuilder = null)
102
102
$ this ->httpClientBuilder = $ builder = $ httpClientBuilder ?? new Builder ();
103
103
$ this ->responseHistory = new History ();
104
104
105
- $ builder ->addPlugin (new BitbucketExceptionThrower ());
105
+ $ builder ->addPlugin (new ExceptionThrower ());
106
106
$ builder ->addPlugin (new HistoryPlugin ($ this ->responseHistory ));
107
107
$ builder ->addPlugin (new RedirectPlugin ());
108
108
Original file line number Diff line number Diff line change 31
31
* @author Fabien Bourigault <[email protected] >
32
32
* @author Graham Campbell <[email protected] >
33
33
*/
34
- final class BitbucketExceptionThrower implements Plugin
34
+ final class ExceptionThrower implements Plugin
35
35
{
36
36
/**
37
37
* Handle the request and return the response coming from the next callable.
You can’t perform that action at this time.
0 commit comments