-
Notifications
You must be signed in to change notification settings - Fork 30
Custom Error Response #82
Comments
Hi, Thanks for your feedback. This is indeed a common feature request we have and will solve in the future (still unplanned though).
You are right. Today, you can only set the HTTP status code of the blocking Sqreen page or make it a HTTP redirection to your custom URL in the settings page)
So we suggest for now to either:
Would it do the job for now? |
Yea that makes sense! Adding the status code in that range probably makes the most sense! |
Hello @sdalezman |
Thanks for the update!
…On Wed, May 20, 2020 at 4:23 AM Julio Guerra ***@***.***> wrote:
Hello @sdalezman <https://github.com/sdalezman>
Quick update about this: better supporting API services is one of our main
goals this year and it should solve this with a better solution (likely the
ability to better configure the response along with information).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#82 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZXEFNBELFWHAMA45LKRGTRSOHO5ANCNFSM4JBFWEAQ>
.
--
Shlomo Dalezman
CTO/Co-Founder, Intello <https://www.intello.io/>
914.609.5030
|
Hi -
I was looking through the library and there's currently no way to write a different error other than the html and response code that Sqreen sends.
I would like to show a custom error message on our React app when Sqreen shows an aborted request. I did notice that there were hooks in the internal package to enable those error messages, but maybe I missed it in my quick scan to be able to hook into those hooks?
I would set a custom status code in the Sqreen dashboard but that's not possible (only allows 400-599 status codes).
Thanks!
The text was updated successfully, but these errors were encountered: