Page MenuHomeDevCentral

Can't write to servers log
Closed, DuplicatePublic

Description

https://api.nasqueron.org/servers-log/ returns 500 error on PUT request:

Stacktrace
18:56:33 <Wearg> [DEBUG] HTTP 500
18:56:33 <Wearg>     while executing
18:56:33 <Wearg> "::rest::_call {} $headers $url $query $body $error_body"
18:56:33 <Wearg>     (procedure "rest::simple" line 46)
18:56:33 <Wearg>     invoked from within
18:56:33 <Wearg> "rest::simple https://api.nasqueron.org/servers-log/ {} {
18:56:33 <Wearg>         method PUT
18:56:33 <Wearg>         content-type application/json
18:56:33 <Wearg>         format json
18:56:33 <Wearg>     } $request"
18:56:33 <Wearg>     (procedure "add_to_servers_log" line 10)
18:56:33 <Wearg>     invoked from within
18:56:33 <Wearg> "add_to_servers_log $emitter "$network $source" $component $entry"
18:56:33 <Wearg>     (procedure "handle_send_to_servers_log" line 6)
18:56:33 <Wearg>     invoked from within
18:56:33 <Wearg> "handle_send_to_servers_log [resolve_nick $nick] $chan $text $callback"
18:56:33 <Wearg>     (procedure "pubm:log" line 14)
18:56:33 <Wearg>     invoked from within
18:56:33 <Wearg> "pubm:log $_pubm1 $_pubm2 $_pubm3 $_pubm4 $_pubm5"