Revert "preventing runtime error from sending errors in dev environment"

This reverts commit a49591b138f223b3ceda1845430892b095104d10.