Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
02:38 xinming__ left 02:39 xinming__ joined 05:54 japhb left 06:49 japhb joined
Geth cro-http/confused-capture: cac1f461a5 | Altai-man++ | 2 files
Handle capture-related exceptions in request-body gracefully

It turns out ACCEPTS could throw an exception instead of silently returning False when it cannot unpack something.
It is an ambiguous error we should not show to the client, so better hide it behind a 400, but in fact it can be a developer's mis-understanding somewhere as well, so report them some info that can be useful in debugging.
10:51
cro-http/confused-capture: 59c1236050 | Altai-man++ | lib/Cro/HTTP/Router.pm6
Accomodate for long body in error message
cro-http: cac1f461a5 | Altai-man++ | 2 files
Handle capture-related exceptions in request-body gracefully

It turns out ACCEPTS could throw an exception instead of silently returning False when it cannot unpack something.
It is an ambiguous error we should not show to the client, so better hide it behind a 400, but in fact it can be a developer's mis-understanding somewhere as well, so report them some info that can be useful in debugging.
10:58
cro-http: 59c1236050 | Altai-man++ | lib/Cro/HTTP/Router.pm6
Accomodate for long body in error message
cro-http: c5c2ee6d16 | (Jonathan Worthington)++ (committed using GitHub Web editor) | 2 files
Merge pull request #133 from croservices/confused-capture

Handle capture-related exceptions in request-body gracefully
cro-http/reverse-proxy: 16 commits pushed by Altai-man++
review: github.com/croservices/cro-http/co...cf070e5d42
11:03
cro-http/reverse-proxy: 16 commits pushed by Altai-man++
review: github.com/croservices/cro-http/co...f1ec1ee2ac
11:26
13:48 Geth left, Geth joined 19:48 Geth joined