From 4cd666754a72f59e43507100c0a6d6b7adab4121 Mon Sep 17 00:00:00 2001 From: Caspian Baska Date: Thu, 29 Apr 2021 13:29:35 +1000 Subject: [PATCH] build!(shard.yml): demonstrate successful compilation --- shard.lock | 4 ++-- shard.override.yml | 3 +++ src/logging.cr | 5 +++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/shard.lock b/shard.lock index 10f5cb5a..51b19893 100644 --- a/shard.lock +++ b/shard.lock @@ -133,9 +133,9 @@ shards: git: https://github.com/placeos/core.git version: 3.8.1 - placeos-driver: + placeos-driver: # Overridden git: https://github.com/placeos/driver.git - version: 5.0.10 + version: 5.1.0+git.commit.0fa9639d9fe8716f7e4185a794fa9d03213e48e9 placeos-frontends: git: https://github.com/placeos/frontends.git diff --git a/shard.override.yml b/shard.override.yml index 3b09b8bf..38ab2b0b 100644 --- a/shard.override.yml +++ b/shard.override.yml @@ -5,3 +5,6 @@ dependencies: github: Sija/retriable.cr secrets-env: github: spider-gazelle/secrets-env + placeos-driver: + github: placeos/driver + branch: refactor/mixin-hash 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,