lib/wunderbar/polymer.rb in wunderbar-1.0.12 vs lib/wunderbar/polymer.rb in wunderbar-1.0.13

- old
+ new

@@ -29,10 +29,10 @@ element = x._polymer_element *args do x.instance_eval &block end output = element.serialize.join("\n") + "\n" rescue ::Exception => exception - headers['status'] = "531 Internal Server Error" + headers['status'] = Wunderbar::ServerError.text x.clear! output = x.html(*args) do _h1 'Internal Server Error' _exception exception end