Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward的消息会导致Bot错乱 #3

Open
VOID001 opened this issue Apr 7, 2017 · 2 comments
Open

Forward的消息会导致Bot错乱 #3

VOID001 opened this issue Apr 7, 2017 · 2 comments

Comments

@VOID001
Copy link
Owner

VOID001 commented Apr 7, 2017

Bot会直接挂掉

@VOID001
Copy link
Owner Author

VOID001 commented Apr 7, 2017

time="2017-04-07T16:51:36Z" level=info msg="Reply to Send {BaseChat:{ChatID:-1001108227095 ChannelUsername: ReplyToMessageID:992 ReplyMarkup: DisableNotification:false} Text:Oops! Something wronghappend, please try again ParseMode: DisableWebPagePreview:false}"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x520a43]

goroutine 1 [running]:
github.com/VOID001/simple-tg-bot/module/session.(*Session).Put(0xc4201d6240, 0x846de0, 0xc4201d6300)
/home/void001/GOPATH/src/github.com/VOID001/simple-tg-bot/module/session/session_manager.go:71 +0xf3
github.com/VOID001/simple-tg-bot/module.(*CommandHandler).Run(0xc420115f20)
/home/void001/GOPATH/src/github.com/VOID001/simple-tg-bot/module/handler.go:274 +0x39b
main.main()

@VOID001
Copy link
Owner Author

VOID001 commented Apr 7, 2017

time="2017-04-07T16:51:36Z" level=error msg="CommandHandler.Run: CommandHandler.handle error: Session.Get: unexpected end of JSON input
"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant