Join Slack
Powered by
For Ktor Server - If I wanted to log the request f...
# ktor
s
spierce7
05/03/2021, 4:19 PM
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
cy
05/03/2021, 5:09 PM
Can't you intercept all requests and surround the proceed invocation in try/catch? See StatusPages implementation for example
cy
05/03/2021, 5:11 PM
Or may be you can use the feature itself for that purpose
s
spierce7
05/03/2021, 7:08 PM
which feature should I use to
surround the proceed invocation in try/catch
?
spierce7
05/03/2021, 11:18 PM
@cy
?
Open in Slack
Previous
Next