Marcin Kuzminski committed 08ac2c3

added some info to corrupted repo message that helps diagnose the cause from log itself.

  • Participants
  • Parent commits 0c43c66
  • Branches beta

Comments (0)

Files changed (1)

File rhodecode/model/

                 repo, dbrepo = r_dbr
                 if repo is None or dbrepo is None:
-                    log.error('Repository %s looks somehow corrupted', r_name)
+                    log.error('Repository "%s" looks somehow corrupted '
+                              'fs-repo:%s,db-repo:%s both values should be '
+                              'present', r_name, repo, dbrepo)
                 last_change = repo.last_change
                 tip = h.get_changeset_safe(repo, 'tip')