Add support for conditionally sending exceptions to riemann