diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-12-07 11:18:25 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-12-07 11:18:25 +0300 |
commit | 58134ab0a2e6673bb3399f793abeaf6a588eaf7f (patch) | |
tree | 70d467f0dfd0b8932e065640da2a0b7aa3edb8bb /lib | |
parent | 719aed23f60e098a8fe30053a6258ddfdb1b3829 (diff) |
Gracefully handle exception1.1.22
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/WOPI/DiscoveryManager.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/WOPI/DiscoveryManager.php b/lib/WOPI/DiscoveryManager.php index 1e81223b..fd9da51c 100644 --- a/lib/WOPI/DiscoveryManager.php +++ b/lib/WOPI/DiscoveryManager.php @@ -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'); |