diff options
Diffstat (limited to 'src/Conftrack/Source/Trivial.hs')
-rw-r--r-- | src/Conftrack/Source/Trivial.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Conftrack/Source/Trivial.hs b/src/Conftrack/Source/Trivial.hs index bb06e77..ff22ee9 100644 --- a/src/Conftrack/Source/Trivial.hs +++ b/src/Conftrack/Source/Trivial.hs @@ -27,7 +27,7 @@ instance ConfigSource Trivial where type SourceState Trivial = [Key] fetchValue key (Trivial tree) = do case M.lookup key tree of - Nothing -> pure $ Left NotPresent + Nothing -> pure $ Left (NotPresent key) Just val -> do modify (key :) pure $ Right (val, "Trivial source with keys "<> T.pack (show (M.keys tree))) |