remove unwrap trying to fetch visitor data (#60)
Co-authored-by: nikos efthias <nikos@mugsoft.io> Reviewed-on: https://codeberg.org/ThetaDev/rustypipe/pulls/60 Co-authored-by: ta3pks <ta3pks@noreply.codeberg.org> Co-committed-by: ta3pks <ta3pks@noreply.codeberg.org>
This commit is contained in:
parent
1f4c9c85b9
commit
71712e4eda
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ impl VisitorDataCache {
|
|||
|
||||
/// Fetch a new visitor data ID and store it in the cache
|
||||
pub async fn new_visitor_data(&self) -> Result<String, Error> {
|
||||
let vd = self.fetch_visitor_data().await.unwrap();
|
||||
let vd = self.fetch_visitor_data().await?;
|
||||
|
||||
self.inner
|
||||
.req_counter
|
||||
|
|
|
|||
Reference in a new issue