diff --git a/system/src/Grav/Common/GPM/Response.php b/system/src/Grav/Common/GPM/Response.php index 80ecac202..c13d1ae4b 100644 --- a/system/src/Grav/Common/GPM/Response.php +++ b/system/src/Grav/Common/GPM/Response.php @@ -291,7 +291,7 @@ class Response case '401': throw new \RuntimeException("Invalid LICENSE"); default: - throw new \RuntimeException("Error while trying to download '$uri'\n"); + throw new \RuntimeException("Error while trying to download (code: $code): $uri \n"); } } @@ -327,7 +327,7 @@ class Response case '401': throw new \RuntimeException("Invalid LICENSE"); default: - throw new \RuntimeException("Error while trying to download '$uri'\nMessage: $error_message"); + throw new \RuntimeException("Error while trying to download (code: $code): $uri \nMessage: $error_message"); } }