mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 03:04:03 +00:00
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user