log remote id if versions do not match, allow file:// to access websocket

This commit is contained in:
j 2016-01-17 20:30:19 +05:30
commit 9c1c653582
2 changed files with 2 additions and 2 deletions

View file

@ -193,7 +193,7 @@ class Node(Thread):
version = r.headers.get('X-Node-Protocol', None)
if version != settings.NODE_PROTOCOL:
logger.debug('version does not match local: %s remote %s', settings.NODE_PROTOCOL, version)
logger.debug('version does not match local: %s remote %s (%s)', settings.NODE_PROTOCOL, version, self.user_id)
self.online = False
if version > settings.NODE_PROTOCOL:
state.update_required = True