Better exception message for flash errors
Merge pull request #1183 from seandst/assert-no-errors-reporting

Better exception message for flash errors