ktorio / ktor

Framework for quickly creating connected applications in Kotlin with minimal effort
https://ktor.io
Apache License 2.0
13.07k stars 1.07k forks source link

Not calling call.respond() at server results in 404 for the client #737

Open ketilsan opened 6 years ago

ketilsan commented 6 years ago

Calling a service from the client results in a 404-error if the server does not respond with a call.respond() 404 Not Found is a bit missleading here.

ktorVersion = "1.0.0-beta-3" Discussion at Slack: https://kotlinlang.slack.com/archives/C0A974TJ9/p1542617591326600

dave08 commented 6 years ago

Maybe this could be implemented as an addition to StatusPages that allows catching an error that call.respond() wasn't called.

oleg-larshin commented 4 years ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.