basho/riak_core — pull request #356 by engelsanchez (2013-08-15 00:09:05+00:00)
Title: Add protection against folsom stat errors

Folsom may sometimes return an error tuple if something goes wrong (see
folsom_ets.erl), but our code was only catching exceptions. So the error
would end up being used as a valid value and crash the riak_kv_stat
process later. This fixes that problem and gives us better protection
from folsom funkiness.