Catch exceptions

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2016-12-07 09:14:33 +01:00
parent ca9298da35
commit cb8e416343
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1

View File

@ -96,6 +96,8 @@ class DiscoveryManager {
} }
public function refretch() { public function refretch() {
$this->appData->getFile('discovery.xml')->delete(); try {
$this->appData->getFile('discovery.xml')->delete();
} catch(\Exception $e) {}
} }
} }