-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I'm using following code to call inside drupal custom module
try {
$response = $this->soap->__soapCall('MyMethod', [
$param,
]);
}
catch (Exception $e) {
$resp = new RedirectResponse(\Drupal::url('mymodule.error_page'));
$resp->send();
}
I get white page with error, it does not redirect to error page.
The website encountered an unexpected error. Please try again later.
RuntimeException: Curl error: Failed to connect to xx.xx.xx.xx port 80: Timed out in jamesiarmes\PhpNtlm\SoapClient->__doRequest() (line 91 of C:\Sites\site1\vendor\jamesiarmes\php-ntlm\src\SoapClient.php).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels