Revert "--json-exceptions"
This reverts commit a325524454
.
Turns out this was predicated on an incorrect belief that json output
didn't already sometimes lack the "key" field. Since json output already
can when `giveup` was used, it seems unncessary to add a whole new
option for this.
This commit is contained in:
parent
7c514d717b
commit
91ba0cc7fd
33 changed files with 115 additions and 304 deletions
|
@ -58,9 +58,6 @@ relaySerializedOutput getso sendsor meterreport runannex = go Nothing
|
|||
Left (OutputError msg) -> do
|
||||
runannex $ outputError id $ UnquotedString msg
|
||||
loop st
|
||||
Left (OutputException eid mfile msg) -> do
|
||||
runannex $ outputException eid mfile $ UnquotedString msg
|
||||
loop st
|
||||
Left (JSONObject b) -> do
|
||||
runannex $ withMessageState $ \s -> case outputType s of
|
||||
JSONOutput _ -> liftIO $ flushed $ JSON.emit' b
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue