Software / code / prosody-modules
File
mod_admin_web/admin_web/www_files/css/style.css @ 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 |
| parent | 1219:f53475ee7ff4 |
line wrap: on
line source
body { margin: 0 } a { color: #0000FF } #adhocCommands > ul { margin: 0 } .btn { margin-right: 0.3em } .btn:last-child { margin-right: 0 } #log_container { clear: both; display: none } #adhocCommands { border-right: solid 1px } #adhocCommands li { list-style: inside } #login { float: left; margin: 1em 2em 0 1em; padding-right: 1em; border: solid 1px; background: #eef0f2; color: #000000 } #main { display: none; margin: 1em } #main p { margin: 0 } #top { clear: both; width: 100%; padding: 0; } @media screen and (min-width: 757px) { #header { background: url(../images/blue_orange.png) repeat-x } } #header img { max-width: 100%; height: auto } #menu { display: none; color: #454748; font-size: 1.1em; background: #eef0f2; width: 100%; } #menu ul { display: inline; list-style-type: none; margin: 0; padding: 0.5em 0 } #menu li { display: inline; padding: 0 0.5em } #menu a { color: #454748; text-decoration: none } #menu li a:hover { color: #6197DF; text-decoration: underline } #selector { display: inline-block } #s2sList h2, #c2sList h2 { color: #4b8ade; margin: 0 } #s2sList li, #c2sList li { cursor: pointer } #host { margin: 0.25em; }