added comments about displaying errors in development environments only