catch error when body hasn't correct property
code cleaning : change brunch error
Merge pull request #23 from poupotte/feature/catchErrors

Catch errors