Hide `with_logging` internals from error messages (closes #6)