[PATCH 1/2] Log the reason if GUI import fails (#1229747)