X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=xsetbg-wsgi.py;fp=xsetbg-wsgi.py;h=161a2b5bd5bfaf3187cbc99e3c79a3e654da8e30;hb=1d0a0014b008e5428fb63ed21109f70d39682661;hp=5a435b4414942ba405aa83f061c36acddccdc98b;hpb=5303e9954e46347d43b6b23b35e265b399c4ee70;p=xsetbg.git diff --git a/xsetbg-wsgi.py b/xsetbg-wsgi.py index 5a435b4..161a2b5 100755 --- a/xsetbg-wsgi.py +++ b/xsetbg-wsgi.py @@ -65,7 +65,7 @@ def app(env, start_response): try: commands[command]() - except: + except Exception: status = '500 Error' response_headers = [('Content-type', 'text/plain')] start_response(status, response_headers)