Fossil SCM

Improve an error message.

stephan 2025-04-10 06:12 chat-backoff-timer2
Commit 1f97db779dba63235d3b978e85f5c0007521f0ea05685facda2ec42879f2f29e
1 file changed +1 -1
--- src/fossil.page.chat.js
+++ src/fossil.page.chat.js
@@ -2602,11 +2602,11 @@
26022602
APIs may try and succeed at connections before this timer
26032603
resolves, in which case they'll clear this timeout and the
26042604
UI message about the outage. */
26052605
const delay = Chat.timer.incrDelay();
26062606
//console.warn("afterPollFetch Chat.e.eMsgPollError",Chat.e.eMsgPollError);
2607
- const msg = "Connection error. Retrying in "+delay+ " ms.";
2607
+ const msg = "Poller connection error. Retrying in "+delay+ " ms.";
26082608
if( Chat.e.eMsgPollError ){
26092609
/* Update the error message on the current error MessageWidget */
26102610
Chat.e.eMsgPollError.e.content.innerText = msg;
26112611
}else {
26122612
/* Set current (new) error MessageWidget */
26132613
--- src/fossil.page.chat.js
+++ src/fossil.page.chat.js
@@ -2602,11 +2602,11 @@
2602 APIs may try and succeed at connections before this timer
2603 resolves, in which case they'll clear this timeout and the
2604 UI message about the outage. */
2605 const delay = Chat.timer.incrDelay();
2606 //console.warn("afterPollFetch Chat.e.eMsgPollError",Chat.e.eMsgPollError);
2607 const msg = "Connection error. Retrying in "+delay+ " ms.";
2608 if( Chat.e.eMsgPollError ){
2609 /* Update the error message on the current error MessageWidget */
2610 Chat.e.eMsgPollError.e.content.innerText = msg;
2611 }else {
2612 /* Set current (new) error MessageWidget */
2613
--- src/fossil.page.chat.js
+++ src/fossil.page.chat.js
@@ -2602,11 +2602,11 @@
2602 APIs may try and succeed at connections before this timer
2603 resolves, in which case they'll clear this timeout and the
2604 UI message about the outage. */
2605 const delay = Chat.timer.incrDelay();
2606 //console.warn("afterPollFetch Chat.e.eMsgPollError",Chat.e.eMsgPollError);
2607 const msg = "Poller connection error. Retrying in "+delay+ " ms.";
2608 if( Chat.e.eMsgPollError ){
2609 /* Update the error message on the current error MessageWidget */
2610 Chat.e.eMsgPollError.e.content.innerText = msg;
2611 }else {
2612 /* Set current (new) error MessageWidget */
2613

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button