Gracefully handle exception

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
pull/8/head 1.1.22
Lukas Reschke 7 vuotta sitten
vanhempi 719aed23f6
commit 58134ab0a2
No known key found for this signature in database
GPG avaimen 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');

Ladataan…
Peruuta
Tallenna