Skip to content

Commit

Permalink
Fix warning unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tilfin committed Nov 30, 2018
1 parent e75d575 commit e9b5a43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/logger_spec.rb
Expand Up @@ -40,7 +40,7 @@
log_str = io.string
begin
JSON.parse(log_str, symbolize_names: true)
rescue Exception => e
rescue Exception
nil
end
end
Expand Down Expand Up @@ -586,7 +586,7 @@ def to_hash
log_str = another_io.string
begin
JSON.parse(log_str, symbolize_names: true)
rescue Exception => e
rescue Exception
nil
end
end
Expand Down

0 comments on commit e9b5a43

Please sign in to comment.