forked from LBRYCommunity/lbry-sdk
Merge pull request #270 from lbryio/survive-lbry-down
Bug fix: continue even if log fails to upload
This commit is contained in:
commit
8e1ad0aa8b
1 changed files with 4 additions and 1 deletions
|
@ -622,7 +622,10 @@ class Daemon(AuthJSONRPCServer):
|
|||
id_hash = base58.b58encode(self.lbryid)[:20]
|
||||
else:
|
||||
id_hash = self.lbryid
|
||||
self.log_uploader.upload(exclude_previous, self.lbryid, log_type)
|
||||
try:
|
||||
self.log_uploader.upload(exclude_previous, self.lbryid, log_type)
|
||||
except requests.RequestException:
|
||||
log.exception('Failed to upload log file')
|
||||
return defer.succeed(None)
|
||||
|
||||
def _clean_up_temp_files(self):
|
||||
|
|
Loading…
Reference in a new issue