Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
brianouimette authored Sep 11, 2023
1 parent 412f253 commit 122cbbd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,12 @@ <h2 class="result">Redirect Result Passed to FileMaker</h2>
let state = jsonArr.state;
let script = state.script;

window.FileMaker.PerformScript(script, jsonParams);
try {
window.FileMaker.PerformScript(script, jsonParams);
} catch (error) {
console.error(error);
}

}

document.addEventListener("filemaker-ready", () => {
Expand Down

0 comments on commit 122cbbd

Please sign in to comment.