mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-02 04:37:35 +03:00
chore: update error page
This commit is contained in:
parent
2e95e1fc6e
commit
ebc682da2d
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ async function checkInstanceUpdateStatus() {
|
|||
document.getElementById('update-status').innerText = statusMessage;
|
||||
} catch (error) {
|
||||
console.error('Error fetching commits:', error);
|
||||
document.getElementById('update-status').innerText = '⚠️ Error checking update status.';
|
||||
document.getElementById('update-status').innerText = '⚠️ Error checking update status: ' + error;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -48,7 +48,7 @@ async function checkOtherInstances() {
|
|||
document.getElementById('random-instance').innerText = "Visit Random Instance";
|
||||
} catch (error) {
|
||||
console.error('Error fetching instances:', error);
|
||||
document.getElementById('update-status').innerText = '⚠️ Error checking update status.';
|
||||
document.getElementById('update-status').innerText = '⚠️ Error checking other instances: ' + error;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue