#234 set error message only if flow Status is FAIL
Merge pull request #235 from Damianofds/master-restinterface-improvements

#234 set error message only if flow Status is FAIL