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

预警邮件设置问题 #52

Open
vioulo opened this issue Jul 4, 2023 · 2 comments
Open

预警邮件设置问题 #52

vioulo opened this issue Jul 4, 2023 · 2 comments

Comments

@vioulo
Copy link

vioulo commented Jul 4, 2023

我是打包好,放到服务器上的。但是在运行过程中报错:
{"code":10101,"message":"内部服务器错误"}
查看日志 看到:

{"level":"error","time":"2023-07-04 22:17:49","caller":"core/core.go:377","msg":"got panic","domain":"go-gin-api[fat]","panic":"runtime error: invalid memory address or nil pointer dereference", ....

{"level":"error","time":"2023-07-04 22:17:49","caller":"alert/alert.go:21","msg":"Mail config error","domain":"go-gin-api[fat]"}

但是,我的邮件设置是默认的,我在本地跑起来没问题,

@ch3nnn
Copy link
Owner

ch3nnn commented Jul 4, 2023

默认支持的是 邮件告警,使用前需要 配置发送人信息。 可以参考文档 15.当发生 Panic 错误时,支持告警吗?

@likuankuan
Copy link

你好,这个panic问题解决了没

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

3 participants