Error message when onSignal is not implemented
This commit is contained in:
parent
2eee8c7a2d
commit
e6a1e5a8bb
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue