Skip to content

Commit

Permalink
Fixes #16493: Missing store git commit lead to fatal exception
Browse files Browse the repository at this point in the history
  • Loading branch information
fanf committed Jan 7, 2020
1 parent f25b9ee commit 40f1aec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ class GitTechniqueReader(
Inconsistancy("Please add a root category.xml and commit it before restarting Rudder.").fail
}
} yield res
case e:MissingObjectException => //ah, that commit is not know on our repos
case SystemError(m, ex:MissingObjectException) => //ah, that commit is not know on our repos
TechniqueReaderLoggerPure.error("The stored Git revision for the last version of the known Technique Library was not found in the local Git repository. " +
"That may happen if a commit was reverted, the Git repository was deleted and created again, or if LDAP datas where corrupted. Loading the last available Techique library version.") *>
revisionProvider.getAvailableRevTreeId.flatMap(newRevTreeId =>
Expand Down

0 comments on commit 40f1aec

Please sign in to comment.