Change Error Handling
This commit is contained in:
parent
934a5e8db4
commit
bae35facf6
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ module MCP
|
|||
report_exception(e, { request: request })
|
||||
if e.is_a?(RequestHandlerError)
|
||||
add_instrumentation_data(error: e.error_type)
|
||||
raise StandardError, e.message
|
||||
raise e
|
||||
end
|
||||
|
||||
add_instrumentation_data(error: :internal_error)
|
||||
|
|
|
|||
Loading…
Reference in a new issue