updated readme and changed to catch root exception
This commit is contained in:
1 parent
81df444765
commit
1889901f93
5 files changed
+15
-4
No files matched your search
+2
-1
@@ -46,8 +46,9 @@ class Qbt:
|
||||
self.tl.info('Connecting to host.')
|
||||
self.qbt_client.auth_log_in()
|
||||
self.tl.info('Connected.')
|
||||
except qbittorrentapi.LoginFailed as e:
|
||||
except qbittorrentapi.APIError as e:
|
||||
self.tl.exception(e)
|
||||
self.poc.send_message(e, title="qbit-maid API ERROR")
|
||||
self.torrentlist = {}
|
||||
self.torrentlist = self.qbt_client.torrents_info()
|
||||
listqbitapiinfo(self)
|
||||
|
||||
Reference in new issue
Block a user