Skip to content

Commit

Permalink
Update services/spar/src/Spar/Scim.hs
Browse files Browse the repository at this point in the history
Co-Authored-By: neongreen <yom@artyom.me>
  • Loading branch information
fisx and neongreen committed Feb 13, 2019
1 parent 772626e commit 72fb0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/spar/src/Spar/Scim.hs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ apiScim = hoistScim (toServant (Scim.siteServer configuration))
wrapScimErrors :: Spar a -> Spar a
wrapScimErrors = over (_Spar . mapped) $ \io ->
try @_ @SomeException io <&> \case
-- We caught an exception that's not a Spar exception. It should be
-- We caught an exception that's not a Spar exception. It is
-- wrapped into SCIM.serverError and rethrown.
Left someException ->
Left . SAML.CustomServant . Scim.scimToServantErr $
Expand Down

0 comments on commit 72fb0a0

Please sign in to comment.