Browse Source

Gracefully handle exception

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
tags/1.1.22
Lukas Reschke 3 years ago
parent
commit
58134ab0a2
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      lib/WOPI/DiscoveryManager.php

+ 1
- 0
lib/WOPI/DiscoveryManager.php View File

@@ -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