[
https://issues.apache.org/jira/browse/CASSANDRASC-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yifan Cai updated CASSANDRASC-36:
---------------------------------
Fix Version/s: 1.0
Source Control Link:
https://github.com/apache/cassandra-sidecar/commit/4be21e717a8dc18d982c1c03d8d100e1da3f2080
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
Merged into trunk as
[4be21e717|https://github.com/apache/cassandra-sidecar/commit/4be21e717a8dc18d982c1c03d8d100e1da3f2080]
> Support for ErrorHandler route in Sidecar
> -----------------------------------------
>
> Key: CASSANDRASC-36
> URL: https://issues.apache.org/jira/browse/CASSANDRASC-36
> Project: Sidecar for Apache Cassandra
> Issue Type: Improvement
> Components: Configuration
> Reporter: Francisco Guerrero
> Assignee: Francisco Guerrero
> Priority: Normal
> Labels: pull-request-available
> Fix For: 1.0
>
>
> Add a default {{Route#failureHandler()}} that returns a {{JSON}}
> representation of the error for {{io.vertx.ext.web.handler.HttpException}}
> as well as {{REQUEST_TIMEOUT}} errors.
> Additionally, we need to allow for custom implementations of the
> {{ErrorHandler}} interface to be injected. Downstream projects can provide
> custom implementations of the {{ErrorHandler}} to fit the needs of the
> project.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]