Skip to content

Commit

Permalink
crystal tool format with Crystal 1.15.0-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Sija committed Oct 25, 2024
1 parent 4c3e137 commit 6707963
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion spec/spec_helper.cr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require "../src/raven"

# Make sure we reset the env in case something leaks in
def with_clean_env(&)
sentry_vars = ->{ ENV.to_h.select { |key, _| key.starts_with?("SENTRY_") } }
sentry_vars = -> { ENV.to_h.select { |key, _| key.starts_with?("SENTRY_") } }
previous_vars = sentry_vars.call
begin
previous_vars.each_key do |key|
Expand Down
2 changes: 1 addition & 1 deletion src/raven/integrations/action-controller/error_handler.cr
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module Raven
def initialize(
@culprit_pattern = "%{method} %{path}",
@capture_data_for_methods = %w(POST PUT PATCH),
@default_logger = "action-controller"
@default_logger = "action-controller",
)
end

Expand Down
2 changes: 1 addition & 1 deletion src/raven/integrations/amber/pipes/error.cr
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module Raven
def initialize(
@culprit_pattern = "%{verb} %{controller}#%{action} (%{valve})",
@capture_data_for_methods = %w(POST PUT PATCH),
@default_logger = "amber"
@default_logger = "amber",
)
end

Expand Down
2 changes: 1 addition & 1 deletion src/raven/integrations/kemal/exception_handler.cr
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module Raven
def initialize(
@culprit_pattern = "%{method} %{path}",
@capture_data_for_methods = %w(POST PUT PATCH),
@default_logger = "kemal"
@default_logger = "kemal",
)
end

Expand Down
2 changes: 1 addition & 1 deletion src/raven/integrations/kernel/spawn.cr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
def spawn(*, name : String? = nil, &block)
wrapped_block = ->{
wrapped_block = -> {
begin
block.call
rescue ex
Expand Down
2 changes: 1 addition & 1 deletion src/raven/integrations/lucky/error_handler.cr
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module Raven
def initialize(
@culprit_pattern = "%{method} %{path}",
@capture_data_for_methods = %w(POST PUT PATCH),
@default_logger = "lucky"
@default_logger = "lucky",
)
end

Expand Down
2 changes: 1 addition & 1 deletion src/raven/log_backend.cr
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module Raven
@record_breadcrumbs = false,
@capture_exceptions = false,
@capture_all = false,
@default_logger = "logger"
@default_logger = "logger",
)
super(dispatch_mode)
end
Expand Down

0 comments on commit 6707963

Please sign in to comment.