Gracefully handle exception

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

Loading…
Cancel
Save