Mercurial > prosody-modules
diff mod_http_libjs/mod_http_libjs.lua @ 4919:347e34c3c7e2
mod_rest: Improve error handling during format mapping
Prevents e.g. a nil, error return going directly into e.g. json
encoding, resulting in "null" being returned.
Further handling improvements down the line is needed.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 07 Apr 2022 17:49:08 +0200 |
parents | f0efbb0b0b5b |
children | 75b6e5df65f9 |