Fix bugs in init and plugin upload filenames

This commit is contained in:
Tulir Asokan 2018-11-01 12:28:56 +02:00
parent 767885cec7
commit 28d7731e70
4 changed files with 15 additions and 7 deletions

View file

@ -129,7 +129,10 @@ class PluginInstance:
return
self.log.debug("Stopping plugin instance...")
self.running = False
await self.plugin.stop()
try:
await self.plugin.stop()
except Exception:
self.log.exception("Failed to stop instance")
self.plugin = None
@classmethod