Remove dedicated exception handling in check completely
Exceptions are already caught at the top level so this is unnecessary.
This commit is contained in:
@@ -141,8 +141,6 @@ main = flip E.catches handlers $ do
|
||||
cmd -> E.throw (NoSuchCommand cmd)
|
||||
case res of
|
||||
Right s -> putStr s
|
||||
Left (GMEException e) ->
|
||||
hPutStrLn stderr $ "Exception: " ++ show e
|
||||
Left (GMENoMsg) ->
|
||||
hPutStrLn stderr "Unknown error"
|
||||
Left (GMEString msg) ->
|
||||
|
||||
Reference in New Issue
Block a user