log checksum errors as warning; dont force full telegram signatures; removed unused code for automatic telegram version detection;

This commit is contained in:
Nigel Dokter
2017-06-05 21:02:59 +02:00
parent 5f1afeb1f8
commit d6e28db116
6 changed files with 15 additions and 53 deletions

View File

@@ -101,6 +101,8 @@ class DSMRProtocol(asyncio.Protocol):
try:
parsed_telegram = self.telegram_parser.parse(telegram)
except InvalidChecksumError as e:
self.log.warning(str(e))
except ParseError:
self.log.exception("failed to parse telegram")
else: