The ctx field was only set in Start(), so tests calling handleMessageCallback without Start() caused a nil pointer dereference in MessageBus.PublishInbound. |
||
|---|---|---|
| .. | ||
| app.go | ||
| app_test.go | ||
| bot.go | ||
| bot_test.go | ||
| common.go | ||
| init.go | ||
The ctx field was only set in Start(), so tests calling handleMessageCallback without Start() caused a nil pointer dereference in MessageBus.PublishInbound. |
||
|---|---|---|
| .. | ||
| app.go | ||
| app_test.go | ||
| bot.go | ||
| bot_test.go | ||
| common.go | ||
| init.go | ||