File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -1494,7 +1494,13 @@ instance ( StandardHash blk
14941494 forHuman (LedgerDB. DeletedSnapshot snap) =
14951495 " Deleted old snapshot " <> showT snap
14961496 forHuman (LedgerDB. InvalidSnapshot snap failure) =
1497- " Invalid snapshot " <> showT snap <> showT failure
1497+ " Invalid snapshot " <> showT snap <> showT failure <> context
1498+ where
1499+ context = case failure of
1500+ LedgerDB. InitFailureRead {} ->
1501+ " This is most likely an expected change in the serialization format,"
1502+ <> " which currently requires a chain replay"
1503+ _ -> " "
14981504
14991505 forMachine dtals (LedgerDB. TookSnapshot snap pt) =
15001506 mconcat [ " kind" .= String " TookSnapshot"
Original file line number Diff line number Diff line change @@ -587,7 +587,13 @@ instance ( ConvertRawHash blk
587587 <> " %"
588588 ChainDB. TraceSnapshotEvent ev -> case ev of
589589 LedgerDB. InvalidSnapshot snap failure ->
590- " Invalid snapshot " <> showT snap <> showT failure
590+ " Invalid snapshot " <> showT snap <> showT failure <> context
591+ where
592+ context = case failure of
593+ LedgerDB. InitFailureRead {} ->
594+ " This is most likely an expected change in the serialization format,"
595+ <> " which currently requires a chain replay"
596+ _ -> " "
591597 LedgerDB. TookSnapshot snap pt ->
592598 " Took ledger snapshot " <> showT snap <>
593599 " at " <> renderRealPointAsPhrase pt
You can’t perform that action at this time.
0 commit comments