debug: add logging to confirm 404 handling in settings UI

This will help verify that the 404 error handling is working correctly
and show when the fallback message is displayed.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
rcourtman
2025-06-13 17:08:16 +01:00
parent f97749a5f1
commit 889d2b197e
+1
View File
@@ -1682,6 +1682,7 @@ PulseApp.ui.settings = (() => {
if (!response.ok) {
if (response.status === 404) {
// Version not found - provide a helpful fallback message
console.log(`[Settings] Handled 404 for version comparison: ${compareUrl} - showing fallback message`);
changesLoading.classList.add('hidden');
changesSummaryText.innerHTML = '<span class="text-amber-600 dark:text-amber-300">⚠️ Version comparison unavailable - this may be a development or pre-release version.</span>';
changesSummaryText.classList.remove('hidden');