Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
devops committed Jul 12, 2024
2 parents 3ecef6a + 561a538 commit 01f9f2a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions booster/tools/booster/Server.hs
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,8 @@ main = do

let koreRespond, boosterRespond :: JSONRPC.Id -> Respond (API 'Req) (Booster.Log.LoggerT IO) (API 'Res)
koreRespond reqId = Kore.respond (fromId reqId) kore.serverState (ModuleName kore.mainModule) runSMT
boosterRespond reqId =
Booster.Log.withContextFor reqId
. Booster.Log.withContext CtxBooster
boosterRespond _reqId =
Booster.Log.withContext CtxBooster
. Booster.respond boosterState

proxyConfig =
Expand All @@ -339,9 +338,10 @@ main = do
srvSettings
( \rawReq req ->
let reqId = getReqId rawReq
in runBoosterLogger $
in runBoosterLogger $ do
logRequestId reqId
>> Proxy.respondEither proxyConfig (boosterRespond reqId) (koreRespond reqId) req
Booster.Log.withContextFor reqId $
Proxy.respondEither proxyConfig (boosterRespond reqId) (koreRespond reqId) req
)
[ Kore.handleDecidePredicateUnknown
, Booster.handleSmtError
Expand Down

0 comments on commit 01f9f2a

Please sign in to comment.