antagonist 0.1.0.17 → 0.1.0.18
raw patch · 2 files changed
+3/−2 lines, 2 files
Files
- antagonist.cabal +1/−1
- server/Web/Antagonist/Server.hs +2/−1
antagonist.cabal view
@@ -10,7 +10,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.1.0.17+version: 0.1.0.18 -- A short (one-line) description of the package. synopsis: A web interface to Antisplice dungeons.
server/Web/Antagonist/Server.hs view
@@ -143,7 +143,7 @@ case x of Right r -> return r Left e -> do- mprintLn $ case e of+ eprintLn (Vivid Red) $ case e of VerbMustFirstError -> "Please start with a verb." UnintellegibleError -> "I don't understand that." CantWalkThereError -> "I can't walk there."@@ -156,6 +156,7 @@ CantCastThatNowError -> "Sorry, I can't cast that now. Check your health, mana and cooldowns." CantAcquireThatError -> "I can't take that." WontHitThatError -> "I won't hit that."+ ReError e -> e _ -> "" case e of QuitError -> liftM (undefined,) $ startSession ctor