Commit 3b8405ad authored by Eduardo Bonet's avatar Eduardo Bonet

Not raising expections for invalid notebooks on dev

parent b8a05993
...@@ -133,7 +133,7 @@ class BlobPresenter < Gitlab::View::Presenter::Delegated ...@@ -133,7 +133,7 @@ class BlobPresenter < Gitlab::View::Presenter::Delegated
@transformed_blob ||= blob.data @transformed_blob ||= blob.data
rescue IpynbDiff::InvalidNotebookError => e rescue IpynbDiff::InvalidNotebookError => e
Gitlab::ErrorTracking.track_and_raise_for_dev_exception(e, issue_url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/344676') Gitlab::ErrorTracking.track_exception(e, issue_url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/344676')
blob.data blob.data
end end
end end
...@@ -468,7 +468,7 @@ module Gitlab ...@@ -468,7 +468,7 @@ module Gitlab
lib_version: Gem.loaded_specs["ipynbdiff"].version.version }) lib_version: Gem.loaded_specs["ipynbdiff"].version.version })
rescue IpynbDiff::InvalidNotebookError => e rescue IpynbDiff::InvalidNotebookError => e
Gitlab::ErrorTracking.track_and_raise_for_dev_exception(e, issue_url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/344676') Gitlab::ErrorTracking.track_exception(e, issue_url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/344676')
end end
def alternate_viewer_class def alternate_viewer_class
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment