Fix Trac #5130: missed error report