We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b632dd commit 000f05eCopy full SHA for 000f05e
src/swarm-tournament/Swarm/Web/Tournament/Validate.hs
@@ -174,9 +174,10 @@ initScenarioObject ::
174
ExceptT ScenarioInstantiationFailure IO (Scenario Elaborated)
175
initScenarioObject scenarioInputs content = do
176
rawYaml <- withExceptT YamlDecodeError . except . decodeEither' $ LBS.toStrict content
177
- rawScenario <- withExceptT ScenarioParseFailure $
178
- except $
179
- parseEither (parseJSONE' scenarioInputs) rawYaml
+ rawScenario <-
+ withExceptT ScenarioParseFailure $
+ except $
180
+ parseEither (parseJSONE' scenarioInputs) rawYaml
181
res <- runError @SystemFailure $ process (rawScenario :: Scenario Raw)
182
withExceptT (ScenarioParseFailure . prettyString) (except res)
183
0 commit comments