lib/lita/robot.rb in lita-4.0.4 vs lib/lita/robot.rb in lita-4.1.0
- old
+ new
@@ -179,15 +179,15 @@
@server_thread = Thread.new do
@server = Puma::Server.new(app)
begin
@server.add_tcp_listener(http_config.host, http_config.port.to_i)
rescue Errno::EADDRINUSE, Errno::EACCES => e
- Lita.logger.fatal I18n.t(
- "lita.http.exception",
- message: e.message,
- backtrace: e.backtrace.join("\n")
- )
- abort
+ Lita.logger.fatal I18n.t(
+ "lita.http.exception",
+ message: e.message,
+ backtrace: e.backtrace.join("\n")
+ )
+ abort
end
@server.min_threads = http_config.min_threads
@server.max_threads = http_config.max_threads
@server.run
end