Skip to content

Commit

Permalink
log more info
Browse files Browse the repository at this point in the history
  • Loading branch information
DomAmato committed Jun 10, 2020
1 parent e7091c2 commit 5a36477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hologram/Network/Modem/BG96.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def write_socket(self, data):
value = '%d,\"%s\"' % (self.socket_identifier, chunk.decode())
ok, _ = self.command('+QISENDEX', value, timeout=10)
if ok != 'SEND OK':
self.logger.error('Failed to write to socket')
self.logger.error('Failed to write to socket, got %s', ok)
raise NetworkError('Failed to write to socket')

def read_socket(self, socket_identifier=None, payload_length=None):
Expand Down

0 comments on commit 5a36477

Please sign in to comment.