diff --git a/src/RemoteWiki.php b/src/RemoteWiki.php index 0ee80ef..a9e3f29 100644 --- a/src/RemoteWiki.php +++ b/src/RemoteWiki.php @@ -163,7 +163,7 @@ private function getGenerator( MediaWiki $api ): ?string { } $this->cache->set( $reqKey, $version, $cacheTTL ); return $version; - } catch ( Exception $e ) { + } catch ( Throwable $e ) { return $this->config->get('RemoteWikiVerbose') ? $e->getMessage() : ''; } }