configure_file: implement error handling

Implement error handling in case it fails

Fixes: #20696 (closed)
Topic-rename: configure_file-error-handling

Edited by Brad King

Merge request reports

Loading