Skip to content

Commit ebc682d

Browse files
committed
chore: update error page
1 parent 2e95e1f commit ebc682d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/check_update.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async function checkInstanceUpdateStatus() {
3333
document.getElementById('update-status').innerText = statusMessage;
3434
} catch (error) {
3535
console.error('Error fetching commits:', error);
36-
document.getElementById('update-status').innerText = '⚠️ Error checking update status.';
36+
document.getElementById('update-status').innerText = '⚠️ Error checking update status: ' + error;
3737
}
3838
}
3939

@@ -48,7 +48,7 @@ async function checkOtherInstances() {
4848
document.getElementById('random-instance').innerText = "Visit Random Instance";
4949
} catch (error) {
5050
console.error('Error fetching instances:', error);
51-
document.getElementById('update-status').innerText = '⚠️ Error checking update status.';
51+
document.getElementById('update-status').innerText = '⚠️ Error checking other instances: ' + error;
5252
}
5353
}
5454

0 commit comments

Comments
 (0)