on master help sign in
make scripting engine warning clear that it's not fatal
commit478dd71921dd34e45101dda1974f310a36544168 authorAgentM <agentm@themactionfaction.com> dateThu 14 Jan 2021, 12:01 (6 years ago) parent4fcb510
2 files changed+1−3
src/lib/ProjectM36/Client.hs+1−1 src/lib/ProjectM36/ScriptSession.hs−2
src/lib/ProjectM36/Client.hs+1−1
@@ -248,7 +248,7 @@ createScriptSession :: [String] -> IO (Maybe ScriptSession)
248248createScriptSession ghcPkgPaths = do
249249 eScriptSession <- initScriptSession ghcPkgPaths
250250 case eScriptSession of
251− Left err -> hPutStrLn stderr ("Failed to load scripting engine- scripting disabled: " ++ show err) >> pure Nothing --not a fatal error, but the scripting feature must be disabled
251+ Left err -> hPutStrLn stderr ("Warning: Haskell scripting disabled: " ++ show err) >> pure Nothing --not a fatal error, but the scripting feature must be disabled
252252 Right s -> pure (Just s)
253253
254254
src/lib/ProjectM36/ScriptSession.hs−2
@@ -128,8 +128,6 @@ initScriptSession ghcPkgPaths = do
128128 "uuid",
129129 "vector",
130130 "text",
131− "binary",
132− "vector-binary-instances",
133131 "time",
134132 "project-m36",
135133 "bytestring"]