Commit Graph

1 Commits (b5f7e12817356b9b1795ab0187fe08d07f13a485)

Author SHA1 Message Date
Renato "Lond" Cerqueira 5c5e14c816 Fix undefined method error in sidekiq ()
* Fix undefined method error in sidekiq

Body can be not nil but still be empty, which causes a
`NoMethodError: undefined method `[]' for nil:NilClass` further in the
code. This checks for an empty body to avoid the issue.

* Fix codeclimate issue