Do not swallow runtime exceptions.

Like the NPE fixed by previous commit. This code
made it completely absent from logs.