quantumish / blatherskite

Chat app backend in Rust
0 stars 2 forks source link

Proper Internal Error Reporting #6

Open quantumish opened 2 years ago

quantumish commented 2 years ago

Right now, internal server errors are propagated until they are blindly .unwrap()ed in the top level request function, which is annoying for a number of reasons:

The main problem is that either cassandra_cpp::Result or generic error reporting libraries like anyhow or error_stack aren't thread-safe, making it impossible to use in the server.