preventing runtime error from sending errors in dev environment