Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Commit

Permalink
fix typo and indent refs #86
Browse files Browse the repository at this point in the history
  • Loading branch information
mzp committed May 28, 2013
1 parent 1f723ad commit 1bb7aca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/helpers/chat_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ def publish_message(event, message, room)
begin
AsakusaSatellite::MessagePusher.trigger("as-#{room.id}",
"message_#{event}",
data.to_json)
data.to_json)
rescue => e
Rails.logger.warn "fali to send message: #{e.inspect}"
Rails.logger.warn "fail to send message: #{e.inspect}"
end

if event == :create then
Expand Down

0 comments on commit 1bb7aca

Please sign in to comment.