BUG 274 nicer formating of output error message

Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>