Fix newline on exception