core: also include newline in error msg..