rescue and warn log

I added `rescue` so that anomalydetect does not die easily.
I also added `$log.warn` so that we can find why it raised an error easily.