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 sendSinglePageProgress value config model pageAndMetadata
|> Just |> Just
ToJsPayload.Errors _ -> ToJsPayload.Errors errors ->
Nothing errors |> ToJsPayload.Errors |> Effect.SendJsData |> Just
ToJsPayload.ApiResponse -> ToJsPayload.ApiResponse ->
Nothing Nothing