Fix error handling of TrayLayout2 in the web instance

This commit is contained in:
Florian Festi 2019-12-13 19:58:55 +01:00
parent 805e6e0273
commit a39567598c
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ class BServer:
box.parse(box.layout.split("\n"))
except Exception as e:
start_response(status, headers)
return self.errorMessage(name, e)
return self.errorMessage(name, e, _)
try:
fd, box.output = tempfile.mkstemp()