tree-wide: shorten error logging a bit
Continuation of 4027f96aa08c73f109aa46b89842ca0e25c9c0e9.
(cherry picked from commit 4ae25393f37b96b2b753562a349d68947ab1ad3d)
Resolves: #1697893
patch_name: 0112-tree-wide-shorten-error-logging-a-bit.patch
present_in_specfile: true
location_in_specfile: 112
squash_commits: true