Set status 500 on React rendered errors.