How about print a error log to console?