Skip to content

safe_unlink: No log error on unlink error #411

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2025

Conversation

pedrobaeza
Copy link
Member

Avoid the error in the log that can be intepreted incorrectly when reading it. Tools that make use of this method (like delete_records_safely_by_xml_id) are already emitting the corresponding log.

Visually, this goes from (alarming OU users):

imagen

to:

imagen

@Tecnativa

Avoid the error in the log that can be intepreted incorrectly when
reading it. Tools that make use of this method (like
delete_records_safely_by_xml_id) are already emitting the corresponding
log.
@pedrobaeza pedrobaeza merged commit d50e356 into OCA:master Mar 31, 2025
2 checks passed
@pedrobaeza pedrobaeza deleted the safe_unlink-no_log_error branch March 31, 2025 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants