Gracefully handle exception
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
719aed23f6
commit
58134ab0a2
@ -73,6 +73,7 @@ class DiscoveryManager {
|
|||||||
return $decodedFile['data'];
|
return $decodedFile['data'];
|
||||||
}
|
}
|
||||||
} catch (NotFoundException $e) {
|
} catch (NotFoundException $e) {
|
||||||
|
$file = $this->appData->newFile('discovery.xml');
|
||||||
}
|
}
|
||||||
|
|
||||||
$remoteHost = $this->config->getAppValue('richdocuments', 'wopi_url');
|
$remoteHost = $this->config->getAppValue('richdocuments', 'wopi_url');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user