getsentry / getsentry/sentry-ruby

Log url to errors

オープン
#1,786 コメント 3 件 リアクション 0 件 担当者 1 名 @sl0thentr0py が担当を希望しています GitHub で見る
Errors Feature Ruby sentry-ruby
主要言語
Ruby
スター
987
フォーク
541
平均マージ
17時間 40分
マージ済み PR(30日)
19

説明

**Describe the idea**
show a clickable url instead of just the event id when logging an error

**Why do you think it's beneficial to most of the users**
they don't need to be a sentry expert to find the error

**Possible implementation**
```
# make events clickable
Sentry::LoggingHelper.prepend(Module.new do
def log_info(message)
super(message.sub(
/\[event\] (\S+) to Sentry/,
"[event] https://sentry.io/organizations//issues/?query=\\1 to Sentry"
))
end
end)
```

to make this reusable a project setting might be needed, or the project could be included in the sentry api reply.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。