Skip to content
Snippets Groups Projects
Unverified Commit aa578433 authored by metabase-bot[bot]'s avatar metabase-bot[bot] Committed by GitHub
Browse files

clear errors in success pathway (#40672) (#40732)


if a previous run had an error, it will remain present but the state
would be "indexed". We should just clear that error.

Co-authored-by: default avatardpsutton <dan@dpsutton.com>
parent 4b83b886
No related branches found
No related tags found
No related merge requests found
......@@ -135,6 +135,7 @@ don't, (and shouldn't) care that those are expressions. They are just another fi
additions-part)))))
(t2/update! ModelIndex (:id model-index)
{:indexed_at :%now
:error nil
:state (if (> (count values-to-index) max-indexed-values)
"overflow"
"indexed")}))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment