added stack trace log on error

This commit is contained in:
Francesco Cozzuto
2021-11-30 19:43:38 +01:00
parent 0d805b84b0
commit d70fa14856
7 changed files with 175 additions and 17 deletions
+10
View File
@@ -0,0 +1,10 @@
fun index(req)
return {code: 200, 'body': 'Hello, world!'};
routes = {
'/': index,
'/groups': list_groups
}
res = serve(8080, routes);