From e6a1e5a8bbe84b9cfb81e030f065ae18b0098978 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Fri, 22 May 2020 18:00:23 -0400 Subject: [PATCH] Error message when onSignal is not implemented --- src/app/signals/types.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/signals/types.nim b/src/app/signals/types.nim index c56b664dc4..7236bd29b0 100644 --- a/src/app/signals/types.nim +++ b/src/app/signals/types.nim @@ -34,8 +34,7 @@ type Message* = object # Override this method method onSignal*(self: SignalSubscriber, data: Signal) {.base.} = - discard - # TODO: log signal received + error "onSignal must be overriden in controller. Signal is unhandled" type ChatType* = enum ChatTypeOneToOne = 1,