Gracefully handle exception

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
pull/8/head 1.1.22
Lukas Reschke преди 7 години
родител 719aed23f6
ревизия 58134ab0a2
No known key found for this signature in database
GPG ключ ID: B9F6980CF6E759B1

@ -73,6 +73,7 @@ class DiscoveryManager {
return $decodedFile['data'];
}
} catch (NotFoundException $e) {
$file = $this->appData->newFile('discovery.xml');
}
$remoteHost = $this->config->getAppValue('richdocuments', 'wopi_url');

Зареждане…
Отказ
Запис