Skip to content

Commit

Permalink
Add more debugging lines
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotts committed Jul 30, 2024
1 parent 1cfed7f commit 81ebfa4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/QuestionnaireForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ export default {
})
});

console.log(`Response: ${JSON.stringify(response)}`);
console.log(`Response Object: ${JSON.stringify(response)}`);

console.log(`Response: ${response}`);

if (!response.ok) {
throw new Error('Failed to connect to the API');
Expand Down

0 comments on commit 81ebfa4

Please sign in to comment.