' ' . $e->__toString()], ['json_data' => true]); } throw $e; } http_response_code(500); echo '
'.Debug::exceptionToString($e).'