Skip to content

Commit 3156357

Browse files
authored
Don't prevent exception from being thrown.
1 parent d69b92f commit 3156357

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/Models/CamundaModel.php

+2-7
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,8 @@ protected function get($url)
5252
private function request($url, $method, $data = [])
5353
{
5454
$data['auth'] = [config('camunda.api.auth.user'), config('camunda.api.auth.password')];
55-
56-
try {
57-
$response = $this->client->{$method}($this->buildUrl($url), $data);
58-
}
59-
catch (ServerException $e) {
60-
dd(json_decode($e->getResponse()->getBody()->getContents()));
61-
}
55+
56+
$response = $this->client->{$method}($this->buildUrl($url), $data);
6257
return json_decode($response->getBody());
6358
}
6459

0 commit comments

Comments
 (0)