Skip to content

Commit

Permalink
Issue warning in config if rpx-domain is empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Mar 29, 2011
1 parent 527e913 commit 2bbea85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Network/Gitit/Config.hs
Expand Up @@ -117,6 +117,8 @@ extractConfig cp = do
"darcs" -> Darcs "darcs" -> Darcs
"mercurial" -> Mercurial "mercurial" -> Mercurial
x -> error $ "Unknown repository type: " ++ x x -> error $ "Unknown repository type: " ++ x
when (authMethod == "rpx" && cfRPXDomain == "") $
liftIO $ logM "gitit" WARNING $ "rpx-domain is not set"


return $! Config{ return $! Config{
repositoryPath = cfRepositoryPath repositoryPath = cfRepositoryPath
Expand Down

0 comments on commit 2bbea85

Please sign in to comment.