mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-24 20:31:42 +03:00
Pass through build errors for single-page renders.
This commit is contained in:
parent
3417c8992e
commit
08f260a237
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user