mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-11 19:58:28 +01:00
Make logs a little quieter
This commit is contained in:
parent
0205d03302
commit
9523039dee
@ -554,7 +554,7 @@ decideOnSnapshotUpdate SnapshotFileInfo {sfiSnapName, sfiUpdatedOn, sfiSnapshotF
|
||||
Nothing -> maybe NoSnapshotFile DoesntExist <$> sfiSnapshotFileGetter
|
||||
-- Add new snapshot to the database, when necessary
|
||||
case mKeySnapFile of
|
||||
NothingToDo -> Nothing <$ logInfo (mkLogMsg "already exists and is up to date.")
|
||||
NothingToDo -> Nothing <$ logDebug (mkLogMsg "already exists and is up to date.")
|
||||
NoSnapshotFile -> Nothing <$ logWarn (mkLogMsg "has no (readable?) snapshot file.")
|
||||
NeedsUpdate (Entity oldSnapKey oldSnap) sf@SnapshotFile {sfCompiler, sfPublishDate}
|
||||
| Just publishDate <- sfPublishDate -> do
|
||||
|
||||
Loading…
Reference in New Issue
Block a user