Skip to content

Commit

Permalink
added rescue on Sidekiq::Middleware::Server::LogstashLogging#parse_time
Browse files Browse the repository at this point in the history
version bump 0.2.5
  • Loading branch information
iMacTia committed Jul 14, 2016
1 parent 537e61e commit aa6005c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Sidekiq::Logstash

[<img src="https://img.shields.io/badge/version-0.2.4-green.svg" alt="version" />](https://github.com/iMacTia/sidekiq-logstash) [<img src="https://travis-ci.org/iMacTia/sidekiq-logstash.svg?branch=master" alt="version" />](https://travis-ci.org/iMacTia/sidekiq-logstash)
[<img src="https://img.shields.io/badge/version-0.2.5-green.svg" alt="version" />](https://github.com/iMacTia/sidekiq-logstash) [<img src="https://travis-ci.org/iMacTia/sidekiq-logstash.svg?branch=master" alt="version" />](https://travis-ci.org/iMacTia/sidekiq-logstash)

Sidekiq::Logstash turns your [Sidekiq](https://github.com/mperham/sidekiq) log into an organised, aggregated, JSON-syntax log ready to be sent to a logstash server.

Expand Down
2 changes: 1 addition & 1 deletion lib/sidekiq/logstash/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Sidekiq
module Logstash
VERSION = '0.2.4'
VERSION = '0.2.5'
end
end
2 changes: 2 additions & 0 deletions lib/sidekiq/middleware/server/logstah_logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ def parse_time(timestamp)
timestamp.is_a?(Float) ?
Time.at(timestamp).utc :
Time.parse(timestamp)
rescue
timestamp
end

def filter_args
Expand Down

0 comments on commit aa6005c

Please sign in to comment.