do not send warnings and notices into a blackhole

--HG--
branch : 0.9