Hi Benjamin
You are catching the exception in a namespace. That means you have to escape the exception like this:
try
{
// Your code
}
catch (\Exception $e)
{
// Handle exception
}
Hi Benjamin
You are catching the exception in a namespace. That means you have to escape the exception like this:
try
{
// Your code
}
catch (\Exception $e)
{
// Handle exception
}