Good logging.  I see this will allow multiple errors to happen.  Nice.