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 2424use Bitbucket \HttpClient \Builder ;
2525use Bitbucket \HttpClient \Message \ResponseMediator ;
2626use Bitbucket \HttpClient \Plugin \Authentication ;
27- use Bitbucket \HttpClient \Plugin \BitbucketExceptionThrower ;
27+ use Bitbucket \HttpClient \Plugin \ExceptionThrower ;
2828use Bitbucket \HttpClient \Plugin \History ;
2929use Http \Client \Common \Plugin \AddHostPlugin ;
3030use Http \Client \Common \Plugin \HeaderDefaultsPlugin ;
@@ -102,7 +102,7 @@ public function __construct(Builder $httpClientBuilder = null)
102102 $ this ->httpClientBuilder = $ builder = $ httpClientBuilder ?? new Builder ();
103103 $ this ->responseHistory = new History ();
104104
105- $ builder ->addPlugin (new BitbucketExceptionThrower ());
105+ $ builder ->addPlugin (new ExceptionThrower ());
106106 $ builder ->addPlugin (new HistoryPlugin ($ this ->responseHistory ));
107107 $ builder ->addPlugin (new RedirectPlugin ());
108108
Original file line number Diff line number Diff line change 3131 * @author Fabien Bourigault <bourigaultfabien@gmail.com>
3232 * @author Graham Campbell <graham@alt-three.com>
3333 */
34- final class BitbucketExceptionThrower implements Plugin
34+ final class ExceptionThrower implements Plugin
3535{
3636 /**
3737 * Handle the request and return the response coming from the next callable.
You can’t perform that action at this time.
0 commit comments