diff --git a/src/Models/CamundaModel.php b/src/Models/CamundaModel.php index 7ceffb3..920f66d 100644 --- a/src/Models/CamundaModel.php +++ b/src/Models/CamundaModel.php @@ -52,13 +52,8 @@ protected function get($url) private function request($url, $method, $data = []) { $data['auth'] = [config('camunda.api.auth.user'), config('camunda.api.auth.password')]; - - try { - $response = $this->client->{$method}($this->buildUrl($url), $data); - } - catch (ServerException $e) { - dd(json_decode($e->getResponse()->getBody()->getContents())); - } + + $response = $this->client->{$method}($this->buildUrl($url), $data); return json_decode($response->getBody()); }