Prevent loops in error reporting.