Fix error decoding.

This commit is contained in:
Dillon Kearns 2022-02-09 16:26:28 -08:00
parent 46bda23c11
commit f777ecad07

View File

@ -173,7 +173,7 @@ function runElmApp(
}
} else if (fromElm.tag === "Errors") {
foundErrors = true;
reject(fromElm.args[0]);
reject(fromElm.args[0].errorsJson);
} else {
console.log(fromElm);
}