mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-29 23:04:50 +03:00
Fix error decoding.
This commit is contained in:
parent
46bda23c11
commit
f777ecad07
@ -173,7 +173,7 @@ function runElmApp(
|
|||||||
}
|
}
|
||||||
} else if (fromElm.tag === "Errors") {
|
} else if (fromElm.tag === "Errors") {
|
||||||
foundErrors = true;
|
foundErrors = true;
|
||||||
reject(fromElm.args[0]);
|
reject(fromElm.args[0].errorsJson);
|
||||||
} else {
|
} else {
|
||||||
console.log(fromElm);
|
console.log(fromElm);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user