Fix error handling of TrayLayout2 in the web instance
This commit is contained in:
parent
805e6e0273
commit
a39567598c
|
@ -488,7 +488,7 @@ class BServer:
|
||||||
box.parse(box.layout.split("\n"))
|
box.parse(box.layout.split("\n"))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
start_response(status, headers)
|
start_response(status, headers)
|
||||||
return self.errorMessage(name, e)
|
return self.errorMessage(name, e, _)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
fd, box.output = tempfile.mkstemp()
|
fd, box.output = tempfile.mkstemp()
|
||||||
|
|
Loading…
Reference in New Issue