Mercurial > prosody-modules
view mod_http_avatar/README.markdown @ 4249:64aa1d9d70ac
mod_rest: Catch and log errors in callback promise chain
From the code it looks like it should be possible to reply to an error
stanza, but it did not. Turns out I was saved by my local developer mode
module which throws errors if an attempt is made to create an errror
reply to an error stanza. However nothing collects this error from the
promise, so all I got was confusion.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 15 Nov 2020 16:25:49 +0100 |
parents | c3b886331de7 |
children |
line wrap: on
line source
--- summary: Serve avatars from HTTP ... Introduction ============ This module serves avatars from local users who have one set in their vCard, see XEP-0054 and XEP-0153. Configuring =========== Simply load the module. Avatars are then available at http://<host>:5280/avatar/<username> modules_enabled = { ... "http_avatar"; } Compatibility ============= ------- -------------- trunk Works 0.11 Works 0.10 Should work ------- --------------