Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions test/mcp/configuration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ class ConfigurationTest < ActiveSupport::TestCase
exception = StandardError.new("test error")
server_context = { test: "context" }

# Should not raise any errors
config.exception_reporter.call(exception, server_context)
assert_nothing_raised do
config.exception_reporter.call(exception, server_context)
end
end

test "allows setting a custom exception reporter" do
Expand Down