Do not rescue errors from state transitions
As this are un-expected errors which we should hear about from Sentry. Still rescue StandardError when operating a Helm action as we can get non Kubeclient errors such as SSL certificate or network errors
显示
- app/services/clusters/applications/install_service.rb 8 个添加, 1 个删除app/services/clusters/applications/install_service.rb
- app/services/clusters/applications/patch_service.rb 8 个添加, 2 个删除app/services/clusters/applications/patch_service.rb
- app/services/clusters/applications/upgrade_service.rb 20 个添加, 16 个删除app/services/clusters/applications/upgrade_service.rb
- spec/services/clusters/applications/install_service_spec.rb 2 个添加, 4 个删除spec/services/clusters/applications/install_service_spec.rb
- spec/services/clusters/applications/patch_service_spec.rb 2 个添加, 4 个删除spec/services/clusters/applications/patch_service_spec.rb
- spec/services/clusters/applications/upgrade_service_spec.rb 2 个添加, 4 个删除spec/services/clusters/applications/upgrade_service_spec.rb
加载中
想要评论请 注册 或 登录