pub async fn get_conn_logged() -> Result<DbConnection>
Expand description

Function which returns a Result<T, E> where T is a new connection session or E is a connection error. It takes in a logger instance.

Arguments

  • log - a Slog logger instance