- Issue created by @yarik.lutsiuk
- Status changed to Needs review
about 1 year ago 2:32pm 15 December 2023 - Status changed to Closed: duplicate
about 1 year ago 2:33pm 15 December 2023
I would like to bring back exceptions as it was implemented in early 2.0 version.
i mean, override onRequestError from parent \Drupal\apitools\Api\Client\ClientBase class
protected function onRequestError(\Exception $e) {
watchdog_exception('apitools', $e);
return NULL;
}
to:
use Drupal\Core\Utility\Error;
protected function onRequestError(\Exception $e) {
Error::logException($this->logger, $e);
throw $e;
}
Closed: duplicate
3.0
Code