Do not send error in dev environment

Might be in the configuration file?