Don't send errors on localhost