| 190 } |
190 } |
| 191 |
191 |
| 192 // if this is an error path, bypass the normal flow |
192 // if this is an error path, bypass the normal flow |
| 193 if (fullPath.startsWith("/error/")) { |
193 if (fullPath.startsWith("/error/")) { |
| 194 val http = HttpRequest(null, req, resp) |
194 val http = HttpRequest(null, req, resp) |
| 195 http.styleSheets = listOf("error") |
|
| 196 http.render("error") |
195 http.render("error") |
| 197 return |
196 return |
| 198 } |
197 } |
| 199 |
198 |
| 200 // obtain a connection and create the data access objects |
199 // obtain a connection and create the data access objects |