More details on posts and error reporting

This commit is contained in:
2023-05-31 22:12:48 +10:00
parent b034ecb3ab
commit 2c1122c9d7
20 changed files with 177 additions and 39 deletions

View File

@@ -0,0 +1,14 @@
require "sentry-ruby"
Hanami.app.register_provider :sentry, namespace: true do
prepare do
Sentry.init do |config|
config.dsn = target["settings"].sentry_dsn
config.traces_sample_rate = 0.25
end
end
start do
register "client", Sentry
end
end