Catch exceptions

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
pull/8/head
Lukas Reschke 8 years ago
parent ca9298da35
commit cb8e416343
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1

@ -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) {}
} }
} }

Loading…
Cancel
Save