Catch exceptions
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
ca9298da35
commit
cb8e416343
@ -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…
x
Reference in New Issue
Block a user