Skip to content
Snippets Groups Projects
Commit 1fd6165a authored by Kipp Cannon's avatar Kipp Cannon
Browse files

gstlal_inspiral: show how to get tracbacks from bottle

patch adds some commented-out code that, if uncommented, causes tracebacks to be displayed when something goes wrong when serving a web request
parent 6e807681
No related branches found
No related tags found
No related merge requests found
......@@ -462,6 +462,9 @@ for svd_bank, output_filename, likelihood_file in zip(svd_banks, options.output,
bottle.default_app.push()
# uncomment the next line to show tracebacks when something fails
# in the web server
#bottle.app().catchall = False
httpservers = httpinterface.HTTPServers(0, bottle_app = bottle.default_app(), service_name = "gstlal_inspiral" + (" (%s)" % options.job_tag if options.job_tag is not None else ""), service_properties = {"job_tag": options.job_tag if options.job_tag is not None else ""}, verbose = options.verbose)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment