lib/logster/middleware/reporter.rb in logster-0.8.3 vs lib/logster/middleware/reporter.rb in logster-0.8.4.pre

- old
+ new

@@ -5,10 +5,10 @@ PATH_INFO = "PATH_INFO".freeze SCRIPT_NAME = "SCRIPT_NAME".freeze def initialize(app, config={}) @app = app - @error_path = (Logster.config.subdirectory || '/logs') + '/report_js_error' + @error_path = Logster.config.subdirectory + '/report_js_error' end def call(env) Thread.current[Logster::Logger::LOGSTER_ENV] = env