improve error handling in router building

This commit is contained in:
Bastian Schroll 2019-03-01 22:46:28 +01:00
parent f487bfc104
commit 4ac4bc5faa
2 changed files with 39 additions and 30 deletions

View file

@ -17,25 +17,22 @@ alarmRouter:
- Test
router:
- name: Router 1
route:
- type: module
name: template_module
config:
maxEntry: 30
ignoreTime: 10
checkMsg: no
- type: router
name: Router 2
- type: plugin
name: template_plugin
config:
user: test
pass: test
db: test
- name: Router 2
route:
- type: module
name: template_module
- name: Router 1
route:
- type: module
name: template_module
config:
maxEntry: 30
ignoreTime: 10
checkMsg: no
- type: router
name: Router 2
- type: plugin
name: template_plugin
config:
user: test
pass: test
- name: Router 2
route:
- type: module
name: template_module