Skip to content

Commit

Permalink
feature: add hostname to notification message
Browse files Browse the repository at this point in the history
  • Loading branch information
ashalaev committed Jun 30, 2017
1 parent 4cdb4ed commit 5c34320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sphinx/integration/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Railtie < Rails::Railtie

register "notificator", ->(message) do
client = ::Twinkle::Client
client.create_message("sadness", message, hashtags: ["#sphinx"]) if client.config.token
client.create_message("sadness", "#{message} on #{`hostname`}", hashtags: ["#sphinx"]) if client.config.token
end
end
end
Expand Down

0 comments on commit 5c34320

Please sign in to comment.