https://kotlinlang.org logo
#ktor
Title
# ktor
c

christophsturm

04/08/2021, 8:25 AM
so i added route tracing, because after a ktor update one of my routes 404s. the output looks like this:
Copy code
Trace for [api, weight]
/, segment:0 -> SUCCESS; Parameters [static-content-path-parameter=[api, weight]] @ ///{...}/(method:GET))
  //, segment:0 -> SUCCESS; Parameters [static-content-path-parameter=[api, weight]] @ ///{...}/(method:GET))
    ///(method:GET), segment:0 -> FAILURE "Not all segments matched" @ ///(method:GET))
    ///{...}, segment:2 -> SUCCESS @ ///{...}/(method:GET))
      ///{...}/(method:GET), segment:2 -> SUCCESS @ ///{...}/(method:GET))
  /api, segment:0 -> FAILURE "Lost in ambiguity tie" @ /api)
there is definately room for improvement here
4 Views