diff --git a/shard.lock b/shard.lock index 10f5cb5a..1f2e0f5e 100644 --- a/shard.lock +++ b/shard.lock @@ -135,7 +135,7 @@ shards: placeos-driver: git: https://github.com/placeos/driver.git - version: 5.0.10 + version: 5.1.0 placeos-frontends: git: https://github.com/placeos/frontends.git diff --git a/shard.yml b/shard.yml index e0178cd7..57348ac1 100644 --- a/shard.yml +++ b/shard.yml @@ -50,7 +50,7 @@ dependencies: # For driver state helpers placeos-driver: github: placeos/driver - version: ~> 5 + version: ~> 5.1 # For frontends client placeos-frontends: diff --git a/src/logging.cr b/src/logging.cr index 8035cd23..39cc2496 100644 --- a/src/logging.cr +++ b/src/logging.cr @@ -3,8 +3,6 @@ require "raven" require "raven/integrations/action-controller" module PlaceOS::Api - # Configure Sentry - Raven.configure &.async=(true) standard_sentry = Raven::LogBackend.new comprehensive_sentry = Raven::LogBackend.new(capture_all: true) @@ -31,6 +29,9 @@ module PlaceOS::Api end end + # Configure Sentry + Raven.configure &.async=(true) + PlaceOS::LogBackend.register_severity_switch_signals( production: Api.production?, namespaces: namespaces,