~reedwade/wee-matter-devel

wee-matter: Print an error if websocket couldn't be created v1 APPLIED

~midgard: 1
 Print an error if websocket couldn't be created

 1 files changed, 1 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~reedwade/wee-matter-devel/patches/15140/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH wee-matter] Print an error if websocket couldn't be created Export this patch

From: Midgard <2885-Midgard@users.noreply.framagit.org>

---
 wee_matter/server.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wee_matter/server.py b/wee_matter/server.py
index bcdfc91..27ea904 100644
--- a/wee_matter/server.py
+++ b/wee_matter/server.py
@@ -289,6 +289,7 @@ def connect_server_cb(server_name, command, rc, out, err):

    worker = wee_matter.websocket.create_worker(server)
    if not worker:
        weechat.prnt("", "An error occurred while creating the websocket worker")
        return weechat.WEECHAT_RC_ERROR
    reconnection_loop_hook = weechat.hook_timer(5 * 1000, 0, 0, "reconnection_loop_cb", server.name)

-- 
2.26.2
Eddie Barraco
Thanks a lot !

To git.sr.ht:~reedwade/wee-matter
   332c1e8..07239c0  07239c0 -> master