diff --git a/src/index.ts b/src/index.ts index e60f08a..01a65e9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -60,7 +60,9 @@ const connection = new knx.Connection({ console.log('Connected!'); }, event: function (evt: string, src: string, dest: string, value: Buffer) { - main(evt, src, dest, value).then(() => { }).catch(e => console.log('Error: ', e)) + main(evt, src, dest, value) + .then(() => { /* This is intentional */ }) + .catch(e => console.log('Error: ', e)) } } }); \ No newline at end of file