Commit 61b87af5 authored by Markus Klein's avatar Markus Klein Committed by Nicole Cordes
Browse files

[TASK] Pass guzzle exception with report in case getUrl fails

GeneralUtility::getUrl() may fail. Guzzle provides detailed information
in the exception it throws upon error.
Allow consumers of getUrl() to make more detailed failure analysis
by passing on the raw exception with the report.

Resolves: #76068
Releases: master
Change-Id: I63393a224695b5fd942da436672b3f75e1b1fc34

Reviewed-by: Wouter Wolters's avatarWouter Wolters <>
Tested-by: Wouter Wolters's avatarWouter Wolters <>
Reviewed-by: Nicole Cordes's avatarNicole Cordes <>
Tested-by: Nicole Cordes's avatarNicole Cordes <>
parent abda4b85
......@@ -2035,6 +2035,7 @@ class GeneralUtility
if (isset($report)) {
$report['error'] = $exception->getHandlerContext()['errno'];
$report['message'] = $exception->getMessage();
$report['exception'] = $exception;
return false;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment