Open molfar opened 5 years ago
This project is not tied to Rails. We should make the logging method more defensive. You are welcome to contribute a PR.
I've managed to work around this problem (with Rails 6.0.0) by explicitly setting the logger.
Sneakers.logger = Rails.logger
Sneakers::Worker.logger = Rails.logger
I set up sneakers with rails project. Everything following instructions. But have this error:
I think its because https://github.com/jondot/sneakers/blob/24abf5fb7069fd8c53bb28fd53f0fb55f2e4fd83/lib/sneakers/worker.rb#L123 does not check if logger exists. It will be better that sneakers use rails logger or stdout by default, with no config.