summaryrefslogtreecommitdiff
path: root/extensions/LocalisationUpdate/fetcher/GitHubFetcher.php
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/LocalisationUpdate/fetcher/GitHubFetcher.php')
-rw-r--r--extensions/LocalisationUpdate/fetcher/GitHubFetcher.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/LocalisationUpdate/fetcher/GitHubFetcher.php b/extensions/LocalisationUpdate/fetcher/GitHubFetcher.php
index 00c9b6ca..5d25257a 100644
--- a/extensions/LocalisationUpdate/fetcher/GitHubFetcher.php
+++ b/extensions/LocalisationUpdate/fetcher/GitHubFetcher.php
@@ -21,7 +21,7 @@ class LU_GitHubFetcher extends LU_HttpFetcher {
$json = Http::get( "https://api.github.com/repos/{$m['org']}/{$m['repo']}/contents/{$m['path']}" );
if ( !$json ) {
- throw new MWException( "Unable to get directory listing for {$m['org']}/{$m['repo']}" );
+ throw new Exception( "Unable to get directory listing for {$m['org']}/{$m['repo']}" );
}
$files = array();