Skip to content
This repository has been archived by the owner on Jul 13, 2019. It is now read-only.

Commit

Permalink
Fix #31, tel ongeldige DVS berichten niet meer voor downtimedetectie
Browse files Browse the repository at this point in the history
  • Loading branch information
geertw committed Apr 25, 2017
1 parent a52945f commit e3b7d0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dvs-daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,15 +330,15 @@ def run(self):
# Treinnr kwam op dit station nog niet voor, voeg toe:
trein_store[trein.treinnr][rit_station_code] = trein

counters['msg'] += + 1

except infoplus_dvs.OngeldigDvsBericht:
self.logger.error('Ongeldig DVS bericht')
self.logger.debug('Ongeldig DVS bericht: %s', content)
except Exception:
self.logger.error(
'Fout tijdens DVS bericht verwerken', exc_info=True)
self.logger.error('DVS crash bericht: %s', content)

counters['msg'] += + 1

pass

Expand Down

0 comments on commit e3b7d0c

Please sign in to comment.