Skip to content

Commit

Permalink
Do not call on_success if response contains no data
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlovsky committed Mar 24, 2023
1 parent 654f139 commit ad13303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tribler/gui/network/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def on_finished(self):
return

if not data:
self.on_finished_signal.emit({})
self.logger.error(f'No data received in the reply for {self}')
return

self.logger.debug('Create a json response')
Expand Down

0 comments on commit ad13303

Please sign in to comment.