#234 set error message only if flow Status is FAIL

This pull req Fixes issue #234