Pass through build errors for single-page renders.

This commit is contained in:
Dillon Kearns 2021-05-11 14:25:34 -07:00
parent 3417c8992e
commit 08f260a237

View File

@ -791,8 +791,8 @@ nextStepToEffect contentCache config model ( updatedStaticResponsesModel, nextSt
sendSinglePageProgress value config model pageAndMetadata
|> Just
ToJsPayload.Errors _ ->
Nothing
ToJsPayload.Errors errors ->
errors |> ToJsPayload.Errors |> Effect.SendJsData |> Just
ToJsPayload.ApiResponse ->
Nothing