Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
[ART-3249] Log ineffective search-and-replace
Browse files Browse the repository at this point in the history
Follow-up on #496. Let's log
and work with upstream before erroring out.
  • Loading branch information
joepvd committed Aug 17, 2021
1 parent 6ce4cd5 commit 99ff3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doozerlib/distgit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1962,7 +1962,7 @@ def _update_csv(self, version, release):
original_string = sr_file_str
sr_file_str = sr_file_str.replace(s, r)
if sr_file_str == original_string:
raise DoozerFatalError(f'Search `{s}` and replace was ineffective for {self.metadata.distgit_key}')
self.logger.error(f'Search `{s}` and replace was ineffective for {self.metadata.distgit_key}')
sr_file.seek(0)
sr_file.truncate()
sr_file.write(sr_file_str)
Expand Down

0 comments on commit 99ff3fc

Please sign in to comment.