[bbccouk] Capture and output error message (closes #13518)