strip tags from error message in CLI mode

setMessage() changed

Signed-off-by: Alexey Andriyanov <alan@al-an.info>