Commit 2ccb3a39 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[HAL] fix for flow error reporting

parent 0faeb112
......@@ -245,12 +245,14 @@ addToCorpusWithQuery user cid (WithQuery { _wq_query = q
(err:_) -> do
printDebug "Error: " err
pure $ addEvent "ERROR" (T.pack $ show err) $
let jl = addEvent "ERROR" (T.pack $ show err) $
JobLog { _scst_succeeded = Just 2
, _scst_failed = Just 1
, _scst_remaining = Just 0
, _scst_events = Just []
}
logStatus jl
pure jl
type AddWithForm = Summary "Add with FormUrlEncoded to corpus endpoint"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment