Allow to configure error_reporting
More fix in ohai 7 plugin