this repo has no description

chore: .unwrap() => .expect(err)

vielle.dev c56cd999 29d5fa5e

verified
+4 -3
+2 -1
src/backfill/mod.rs
··· 41 41 ) -> Result<(), Error> { 42 42 let car = load_car( 43 43 config::USER_DID.clone(), 44 - Url::parse(&format!("https://{}/", config::USER_EXPORT_URL)).unwrap(), 44 + Url::parse(&format!("https://{}/", config::USER_EXPORT_URL)) 45 + .expect("env variable USER_EXPORT_URL should be a domain string"), 45 46 ) 46 47 .await?; 47 48
+2 -2
src/config/mod.rs
··· 80 80 resolver 81 81 .pds_for_did(&self::USER_DID) 82 82 .await 83 - .unwrap() 83 + .expect("The did document for a user should contain a #atproto_pds service with a url") 84 84 .domain() 85 - .unwrap() 85 + .expect("A users pds should have a domain.") 86 86 .to_string() 87 87 } 88 88 })