lib/vitrine.rb in vitrine-0.0.12 vs lib/vitrine.rb in vitrine-0.0.13

- old
+ new

@@ -105,11 +105,11 @@ rescue Exception => e # CSS syntax error or something alike # Add a generated DOM element before <body/> to inject # a visible error message error_tpl = 'body:before { background: white; font-family: sans-serif; color: red; font-size: 14px; content: %s }' css_message = error_tpl % [e.class, "\n", "--> ", e.message].join.inspect - - halt 500, css_message + # If we halt with 500 this will not be shown as CSS + halt 200, css_message end end # Generate a sourcemap for CoffeeScript files get /(.+)\.js\.map$/ do | basename | \ No newline at end of file