Erm no there isn't one actually. we use a custom v...
# http4k
d
Erm no there isn't one actually. we use a custom version of CatchAll.
c
it seems that if an exception is produced without being caught, then it never reaches that filter, or am i doing something wrong?
d
Thanks doesn't sound right. Are you sure there isn't a normal http response being returned with the stack in?
c
Copy code
return ServerFilters.InitialiseRequestContext(contexts)
    .then(ServerFilters.Cors(CorsPolicy.UnsafeGlobalPermissive))
    .then(throttleFilter(contexts)).then(CustomServerFilters.CatchAll())
    .then(app)
if a error is being thrown in the throttleFilter
then it never arrives also in the CustomServerFilters.CatchAll())
d
CatchAll should always be at the top of the stack
c
👍