我正在尝试在我的服务器上设置一个本地哨兵。
当我的 java 应用程序向服务器发送异常时,哨兵返回“Client 'Raven-Java 0.4' raise API error:”(不显示错误)。
哨兵中此异常的 JSON 数据:
{"id": "4f8e8377122340da92c7192c9a059aea", "checksum": "5c99c531830313a994bf4de2e8bb4fd4", "project": "default", "logger": "sentry.api.http", "level": "error", "culprit": "", "extra": {"thread": -1219086144, "process": 8395, "threadName": "MainThread", "module": "api", "filename": "api.py", "pathname": "/opt/sentry/lib/python2.5/site-packages/sentry-4.4.6-py2.5.egg/sentry/web/api.py", "lineno": 153, "message": "Client 'Raven-Java 0.4' raised API error: ", "funcName": "store"}, "modules": {"sentry": "4.4.6", "djcelery": "2.5.5", "django": "1.3.1", "kombu.transport.django": "1.0.0", "kombu": "2.1.8", "south": "0.7.5", "raven": "1.9.1"}, "sentry.interfaces.Message": {"message": "Client 'Raven-Java 0.4' raised API error: ", "params": []}}
我可以将相同的异常从我的 java 应用程序发送到 getsentry 公共服务器。
怎么了?