Python API functions would both report an error through CLOG and throw an exception. However this is a problem when --debug-exit-on-error is used, as tests and other scripts will not have the opportunity to catch the exception before Blender exits. Now don't print such reports through CLOG. Note that these usages of BKE_reports_init have their print level set to error, so were already not printing info and warning reports (which is not something we generally want Python API calls to do, they should be silent). Ref #146256 Pull Request: https://projects.blender.org/blender/blender/pulls/146801