Get rid of the ctry!
& cexpect!
macros
#860
Labels
A-frontend
Area: Web frontend
C-technical-debt
Category: This makes the code harder to read and modify, but has no impact on end users
P-low
Low priority issues
S-blocked
Status: marked as blocked ❌ on something else such as an RFC or other implementation work.
Pretty sure we can literally just replace ctry! with ? now given that errors without an explicit status code are treated as 500s (or if we can't, could try and make it so that we can). That would allow changing
cexpect!
usage into.ok_or_else(|| err_msg(...))?
.Originally posted by @Kixiron and @Nemo157 in #858 (comment)
The text was updated successfully, but these errors were encountered: