Skip to content

Log registry org audit failures - #1939

Open
Ewgna wants to merge 3 commits into
CVEProject:2.8.4-releasefrom
Ewgna:bugfix/1918-log-audit-failures
Open

Log registry org audit failures#1939
Ewgna wants to merge 3 commits into
CVEProject:2.8.4-releasefrom
Ewgna:bugfix/1918-log-audit-failures

Conversation

@Ewgna

@Ewgna Ewgna commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Closes Issue 1918

Summary

Added logging for audit history failures during registry org create and update flows so audit write errors are no longer silently swallowed.

Important Changes

src/repositories/baseOrgRepository.js

  • Added error logging when registry org create audit history creation fails.
  • Added error logging when registry org update audit history creation/appending fails.

Testing

  • 1) Ran node node_modules/eslint/bin/eslint.js src/repositories/baseOrgRepository.js.
  • 2) Ran node node_modules/mocha/bin/mocha test/unit-tests/org --recursive --exit.

Notes

  • Audit failures remain non-blocking; this change adds visibility without changing org mutation behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant