For Ktor Server - If I wanted to log the request f...
# ktor
s
For Ktor Server - If I wanted to log the request for any server error in ktor, what would be the best way to do that?
c
Can't you intercept all requests and surround the proceed invocation in try/catch? See StatusPages implementation for example
Or may be you can use the feature itself for that purpose
s
which feature should I use to
surround the proceed invocation in try/catch
?
@cy?