You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if the library didn't just print stuff to stdout/stderr indiscriminately. AFAIK the idiomatic solution would be to use the log or tracing crate.
The text was updated successfully, but these errors were encountered:
I think that the library itself should never call (e)println and ideally it wouldn't panic either. In both cases, doing otherwise is taking control away from the application developer. What about propagating the disregarding database or invalid segment version and similar errors as Errs, with a custom Error type? For this, the thiserror create could help. You could have different variants with some of them being marked as recoverable and others as fatal, where appropriate.
It would be nice if the library didn't just print stuff to stdout/stderr indiscriminately. AFAIK the idiomatic solution would be to use the
log
ortracing
crate.The text was updated successfully, but these errors were encountered: