fix failing testLogError

Due to an additional line break, the testLogError failed