should just check for files existance:
```php
if ($this->extensions === null) {
    $file = Yii::getAlias('@vendor/yiisoft/extensions.php');
    $this->extensions = is_file($file) ? include($file) : [];
}
```

In case of other errors, it should be visible and not hidden so it is debuggable.