twitter / pelikan

Pelikan is Twitter's unified cache backend
Apache License 2.0
1.94k stars 176 forks source link

fix: improve error messages #475

Closed brayniac closed 2 years ago

brayniac commented 2 years ago

The panic hook should really print to stderr directly instead of using a log macro, as we cannot guarantee the logger flushes before the program terminates.

Also improves some of the error messages for loading TOML configs and TLS key materials to print the filename as well as the error message.