Commit b8a05993 authored by Eduardo Bonet's avatar Eduardo Bonet

Adding ipynbdiff lib versioning logging

parent 6c13d84f
......@@ -464,7 +464,8 @@ module Gitlab
diff.diff = new_diff.scan(/.*\n/)[2..-1].join('') if new_diff
Gitlab::AppLogger.info({ message: new_diff ? 'IPYNB_DIFF_GENERATED' : 'IPYNB_DIFF_NIL',
from: from&.to_s, to: to&.to_s })
from: from&.to_s, to: to&.to_s,
lib_version: Gem.loaded_specs["ipynbdiff"].version.version })
rescue IpynbDiff::InvalidNotebookError => e
Gitlab::ErrorTracking.track_and_raise_for_dev_exception(e, issue_url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/344676')
......
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