From b837275a0d97373f4b396020596caccd97ea2ed2 Mon Sep 17 00:00:00 2001 From: syeopite Date: Thu, 19 Dec 2024 13:30:23 -0800 Subject: [PATCH] Fix Lint/UnusedArgument in custom exception spec --- spec/exception_handler_spec.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/exception_handler_spec.cr b/spec/exception_handler_spec.cr index 5aa2278..f00621a 100644 --- a/spec/exception_handler_spec.cr +++ b/spec/exception_handler_spec.cr @@ -130,7 +130,7 @@ describe "Kemal::ExceptionHandler" do end it "renders custom error for a child of a custom exception" do - error CustomExceptionType do |env, error| + error CustomExceptionType do |_, error| "A custom exception of #{error.class} has occurred" end