【问题标题】:Can I get the stack trace without an exception/error in Sentry?我可以在 Sentry 中获取堆栈跟踪而不会出现异常/错误吗?
【发布时间】:2021-11-04 21:26:18
【问题描述】:

尝试查看是否可以在 Sentry 上获取堆栈跟踪(后端和前端),而不会实际产生错误。我不需要创建事件,只需获取最后 50 个操作(我相信是面包屑吗?)。任何帮助将不胜感激!

使用 Python 作为后端。

【问题讨论】:

    标签: sentry


    【解决方案1】:

    您可以只使用captureMessage,但请记住启用attach_stacktrace 模式 -> https://docs.sentry.io/platforms/python/configuration/options/#attach-stacktrace

    【讨论】:

      猜你喜欢
      • 2019-11-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-06-01
      • 1970-01-01
      • 2012-06-22
      • 2023-03-22
      • 1970-01-01
      相关资源
      最近更新 更多