Remove Sentry

This commit is contained in:
2024-03-16 07:38:45 +11:00
parent 6cd71972b1
commit e385e6782e
8 changed files with 6465 additions and 4823 deletions

View File

@@ -32,7 +32,6 @@ module Adamantium
"post_utilities.slugify",
"post_utilities.link_finder",
"post_utilities.page_cacher",
"sentry.client",
"syndication.dayone",
"syndication.mastodon",
"syndication.blue_sky",

View File

@@ -1,14 +0,0 @@
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

View File

@@ -70,7 +70,6 @@ module Adamantium
setting :basic_auth_username, default: nil
setting :basic_auth_password, default: nil
setting :sentry_dsn, default: nil
setting :raise_exceptions, default: true
setting :gist_client_token, default: nil