mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 19:42:37 +02:00
Always print traceback
This commit is contained in:
parent
f06eb52d58
commit
d73386a58a
1 changed files with 1 additions and 1 deletions
|
@ -68,6 +68,7 @@ env.filters["time"] = time_filter
|
||||||
app = Roll()
|
app = Roll()
|
||||||
cors(app, methods="*", headers="*")
|
cors(app, methods="*", headers="*")
|
||||||
options(app)
|
options(app)
|
||||||
|
traceback(app)
|
||||||
|
|
||||||
|
|
||||||
@app.listen("request")
|
@app.listen("request")
|
||||||
|
@ -351,7 +352,6 @@ def serve(reload=False):
|
||||||
import hupper
|
import hupper
|
||||||
|
|
||||||
hupper.start_reloader("copanier.serve")
|
hupper.start_reloader("copanier.serve")
|
||||||
traceback(app)
|
|
||||||
static(app, root=Path(__file__).parent / "static")
|
static(app, root=Path(__file__).parent / "static")
|
||||||
simple_server(app, port=2244)
|
simple_server(app, port=2244)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue