Skip to content

Commit

Permalink
Add error handling if faq github fetch fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Not-A-Normal-Robot authored Apr 29, 2024
1 parent 1f447b2 commit a8cf61f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/faq.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
}

faqLastUpdatedElement.innerText = "Last updated: " + formattedDate;
})
.catch(error => {
console.error('Failed to fetch last updated date:', error);
});
}

Expand Down

0 comments on commit a8cf61f

Please sign in to comment.