Add argument to keep error even in production.

Can you merge this branch ?
It add a new boolean to force error keep even if we are in production env'.

Thanks :)