-
Notifications
You must be signed in to change notification settings - Fork 448
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(interactive): Return the correct http code (#3700)
- Internally use `Result<>` to store the runtime error, and map the error to http code at `admin_http_handler`. - Extract commonly used code into utils function `http_utils.h`.
- Loading branch information
1 parent
ff9fcec
commit 12cbced
Showing
7 changed files
with
326 additions
and
322 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.