Skip to content

Commit

Permalink
do not log portforward exception
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Aug 11, 2016
1 parent 2a5dbac commit 6b065f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dataplicity/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.0a1"
__version__ = "0.4.0a3"
6 changes: 3 additions & 3 deletions dataplicity/portforward.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ def _connect(self):
try:
_socket.connect(self.service.host_port)
except socket.timeout:
log.exception('timed out connecting to server')
log.error('timed out connecting to server')
return False
except IOError:
log.exception('IO Error when connecting')
except IOError as e:
log.error('IO Error when connecting, %s', e)
return False
except:
log.exception('error connecting')
Expand Down

0 comments on commit 6b065f6

Please sign in to comment.