You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dinesh Joshi (Jira)" <ji...@apache.org> on 2022/05/06 22:47:00 UTC
[jira] [Commented] (CASSANDRASC-36) Support for ErrorHandler route in Sidecar
[ https://issues.apache.org/jira/browse/CASSANDRASC-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17533111#comment-17533111 ]
Dinesh Joshi commented on CASSANDRASC-36:
-----------------------------------------
+1, thanks for the patch and resolving the PR feedback.
> 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
>
> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org