Abbreviate error messages for non-debug builds