Drain logs on exception (untestable)