Skip to content

Conversation

@rejain456
Copy link
Contributor

Reason for Change:

Issue Fixed:

Requirements:

Notes:

@rejain456 rejain456 marked this pull request as ready for review December 4, 2024 21:27
@rejain456 rejain456 requested review from a team as code owners December 4, 2024 21:27
@rejain456 rejain456 requested review from QxBytes and nairashu December 4, 2024 21:27
}
denyACLJSON, err := json.Marshal(denyACL)
if err != nil {
fmt.Println("Error marshaling default deny policy:", err)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of printing the error, you can just wrap and return it, e.g.

if err != nil {
    return nil, errors.Wrap(err, "error marshalling default deny policy to json")
}

@github-actions
Copy link

This pull request is stale because it has been open for 2 weeks with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale due to inactivity. label Dec 31, 2024
@github-actions
Copy link

github-actions bot commented Jan 7, 2025

Pull request closed due to inactivity.

@github-actions github-actions bot closed this Jan 7, 2025
@github-actions github-actions bot deleted the jainriya/npmLiteDefaultDeny branch January 7, 2025 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Stale due to inactivity.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants