diff --git a/example.php b/example.php index 01a7cb8140..8e1452f31a 100644 --- a/example.php +++ b/example.php @@ -122,7 +122,7 @@ function configureSDK($sdk, $overrides = []) { $spec = getSSLPage("https://raw.githubusercontent.com/appwrite/specs/main/specs/{$version}/swagger2-{$version}-{$platform}.json"); if(empty($spec)) { - throw new Exception('Failed to fetch spec from Appwrite server'); + throw new Exception("Failed to fetch spec from GitHub (version: {$version}, platform: {$platform})"); } }