Corrected the name of the exception variable

This commit is contained in:
Alex Tselegidis 2021-10-29 13:16:21 +02:00
parent 182cebfb74
commit 4ed7465784
11 changed files with 36 additions and 36 deletions

View file

@ -62,7 +62,7 @@ class API_V1_Controller extends EA_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
exit;
}
}

View file

@ -71,7 +71,7 @@ class Admins extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -107,7 +107,7 @@ class Admins extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -142,7 +142,7 @@ class Admins extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -166,7 +166,7 @@ class Admins extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
}

View file

@ -84,7 +84,7 @@ class Appointments extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -143,7 +143,7 @@ class Appointments extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -193,7 +193,7 @@ class Appointments extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -232,7 +232,7 @@ class Appointments extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
}

View file

@ -66,7 +66,7 @@ class Availabilities extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
}

View file

@ -71,7 +71,7 @@ class Categories extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -102,7 +102,7 @@ class Categories extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -137,7 +137,7 @@ class Categories extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -161,7 +161,7 @@ class Categories extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
}

View file

@ -71,7 +71,7 @@ class Customers extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -102,7 +102,7 @@ class Customers extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -137,7 +137,7 @@ class Customers extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -161,7 +161,7 @@ class Customers extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
}

View file

@ -71,7 +71,7 @@ class Providers extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -117,7 +117,7 @@ class Providers extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -152,7 +152,7 @@ class Providers extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -176,7 +176,7 @@ class Providers extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
}

View file

@ -71,7 +71,7 @@ class Secretaries extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -112,7 +112,7 @@ class Secretaries extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -147,7 +147,7 @@ class Secretaries extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -171,7 +171,7 @@ class Secretaries extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
}

View file

@ -71,7 +71,7 @@ class Services extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -102,7 +102,7 @@ class Services extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -137,7 +137,7 @@ class Services extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -161,7 +161,7 @@ class Services extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
}

View file

@ -88,7 +88,7 @@ class Settings extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -116,7 +116,7 @@ class Settings extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -140,7 +140,7 @@ class Settings extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
}

View file

@ -71,7 +71,7 @@ class Unavailabilities extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -102,7 +102,7 @@ class Unavailabilities extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
@ -161,7 +161,7 @@ class Unavailabilities extends API_V1_Controller {
}
catch (Throwable $e)
{
$this->handle_exception($exception);
$this->handle_exception($e);
}
}
}