Skip to content

Commit cb05cb2

Browse files
committed
db-synthesizer: explain what "does not look like a ChainDB" means
1 parent 5749666 commit cb05cb2

File tree

1 file changed

+3
-1
lines changed
  • ouroboros-consensus-cardano/src/unstable-cardano-tools/Cardano/Tools/DBSynthesizer

1 file changed

+3
-1
lines changed

ouroboros-consensus-cardano/src/unstable-cardano-tools/Cardano/Tools/DBSynthesizer/Run.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,4 +183,6 @@ preOpenChainDB mode db =
183183
OpenCreateForce | isChainDB ->
184184
removePathForcibly db >> create
185185
_ ->
186-
fail $ loc ++ " is non-empty and does not look like a ChainDB. Aborting."
186+
fail $ loc ++ " is non-empty and does not look like a ChainDB"
187+
<> " (i.e. its entries are not exactly 'immutable'/'ledger'/'volatile')."
188+
<> " Aborting."

0 commit comments

Comments
 (0)