{"action":"opened","issue":{"url":"https://api.github.com/repos/Unleash/unleash-client-ruby/issues/3","repository_url":"https://api.github.com/repos/Unleash/unleash-client-ruby","labels_url":"https://api.github.com/repos/Unleash/unleash-client-ruby/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Unleash/unleash-client-ruby/issues/3/comments","events_url":"https://api.github.com/repos/Unleash/unleash-client-ruby/issues/3/events","html_url":"https://github.com/Unleash/unleash-client-ruby/issues/3","id":337997203,"node_id":"MDU6SXNzdWUzMzc5OTcyMDM=","number":3,"title":"Exception logging error","user":{"login":"gingermusketeer","id":1177034,"node_id":"MDQ6VXNlcjExNzcwMzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1177034?v=4","gravatar_id":"","url":"https://api.github.com/users/gingermusketeer","html_url":"https://github.com/gingermusketeer","followers_url":"https://api.github.com/users/gingermusketeer/followers","following_url":"https://api.github.com/users/gingermusketeer/following{/other_user}","gists_url":"https://api.github.com/users/gingermusketeer/gists{/gist_id}","starred_url":"https://api.github.com/users/gingermusketeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gingermusketeer/subscriptions","organizations_url":"https://api.github.com/users/gingermusketeer/orgs","repos_url":"https://api.github.com/users/gingermusketeer/repos","events_url":"https://api.github.com/users/gingermusketeer/events{/privacy}","received_events_url":"https://api.github.com/users/gingermusketeer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-03T17:48:45Z","updated_at":"2018-07-03T17:48:45Z","closed_at":null,"author_association":"NONE","body":"Hi, I noticed that I am getting an exception when the scheduler is trying to log an error:\r\n```\r\n/Users/gingermusketeer/.rubies/ruby-2.5.1/lib/ruby/2.5.0/logger.rb:544:in `error': wrong number of arguments (given 2, expected 0..1) (ArgumentError)\r\n11:25:08 web.1     | \tfrom /Users/gingermusketeer/.gem/ruby/2.5.1/gems/unleash-0.1.2/lib/unleash/scheduled_executor.rb:27:in `rescue in block (2 levels) in run'\r\n11:25:08 web.1     | \tfrom /Users/gingermusketeer/.gem/ruby/2.5.1/gems/unleash-0.1.2/lib/unleash/scheduled_executor.rb:22:in `block (2 levels) in run'\r\n11:25:08 web.1     | \tfrom /Users/gingermusketeer/.gem/ruby/2.5.1/gems/unleash-0.1.2/lib/unleash/scheduled_executor.rb:17:in `loop'\r\n11:25:08 web.1     | \tfrom /Users/gingermusketeer/.gem/ruby/2.5.1/gems/unleash-0.1.2/lib/unleash/scheduled_executor.rb:17:in\r\n```\r\n\r\nIs there an issue with my setup or is this part of the gem? It seems to be caused by there being two arguments to the log error call here: https://github.com/Unleash/unleash-client-ruby/blob/13c91db23254345262be43ab78f690e70af972ec/lib/unleash/scheduled_executor.rb#L27\r\n\r\nI was able to reproduce this problem by running `Unleash.logger.error 'one', 'two'` from the rails console."}}
{"actor":{"display_login":"gingermusketeer"}}