mirror of
https://github.com/nextcloud/richdocuments.git
synced 2025-12-18 05:20:43 +01:00
Gracefully handle exception
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
719aed23f6
commit
58134ab0a2
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue