mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 04:04:12 +02:00
[ticket/17480] Use phpBB error message text instead of thrown by GuzzleHTTP
PHPBB-17480
This commit is contained in:
@@ -82,7 +82,7 @@ class file_downloader
|
||||
}
|
||||
catch (\RuntimeException $exception)
|
||||
{
|
||||
throw new runtime_exception($exception->getMessage());
|
||||
throw new runtime_exception('HTTP_HANDLER_NOT_FOUND');
|
||||
}
|
||||
|
||||
// Set default values for error variables
|
||||
|
Reference in New Issue
Block a user