Advertisement

Error handling and Logging with Actix (Rust) [2020]

Error handling and Logging with Actix (Rust) [2020] My take on error handling and logging with Actix.

In this video we are going to revisit the code from the Actix TODO Service series:


* Panic vs Result and the use of expect and unwrap.
* Custom errors and error handling in Actix
* Logging for Actix (and Rust in general)

If you don't want to handle Logger objects take a look at slog-scope:

As an alternative you can try the tracing library:

Let me know if I made a mistake or if there is a better way of doing this.

Source code:


Actix repository:


Actix web page:


Rust lang page:


Code editor/IDE:


Terminal:


My linkedin:

actix web framework,actix-web,actix,actix web,rust web framework,rust programming,yt:cc=on,rust language,rustlang,rust programming language,actix web examples,actix web tutorial,actix web rust,web development in rust,rust actix,the downfall of actix web,rust lang,rust,rust actix-web,rust web development,rust 2020,Rocket vs,rust logging,actix web logging,actix web errors,actix web error handling,actix error handling,error handling,actix logging,

Post a Comment

0 Comments