@@ -238,18 +238,10 @@ mkObeliskConfig = do
238238 -- This function should not use argument parser (full argument parsing happens post handoff)
239239 let logLevel = toLogLevel $ "-v" `elem` cliArgs
240240 notInteractive <- not <$> isInteractiveTerm
241−-- instance MonadIO m => MonadError (Either Text ProcessFailed) (DieT m) where
242−-- throwError = \case
243−-- Left s -> do
244−-- putLog Alert s
245−-- liftIO $ exitWith $ ExitFailure 2
246−-- Right (ProcessFailed p code) -> do
247−-- putLog Alert $ "Process exited with code " <> T.pack (show code) <> "; " <> T.pack (show p)
248−-- liftIO $ exitWith $ ExitFailure 2
249241 cliConf <- newCliConfig logLevel notInteractive notInteractive $ \case
250242 ObeliskError_ProcessError (ProcessFailure p code) ann ->
251243 ( "Process exited with code " <> T.pack (show code) <> "; " <> reconstructCommand p
252− <> maybe "" ("\n\n" <>) ann
244+ <> maybe "" ("\n" <>) ann
253245 , 2
254246 )
255247 ObeliskError_Unstructured msg -> (msg, 2)