tangled
alpha
login
or
join now
vielle.dev
/
meview
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
chore: .unwrap() => .expect(err)
vielle.dev
2 months ago
c56cd999
29d5fa5e
verified
This commit was signed with the committer's
known signature
.
vielle.dev
SSH Key Fingerprint:
SHA256:/4bvxqoEh9iMdjAPgcgAgXKZZQTROL3ULiPt6nH9RSs=
+4
-3
2 changed files
expand all
collapse all
unified
split
src
backfill
mod.rs
config
mod.rs
+2
-1
src/backfill/mod.rs
···
41
) -> Result<(), Error> {
42
let car = load_car(
43
config::USER_DID.clone(),
44
-
Url::parse(&format!("https://{}/", config::USER_EXPORT_URL)).unwrap(),
0
45
)
46
.await?;
47
···
41
) -> Result<(), Error> {
42
let car = load_car(
43
config::USER_DID.clone(),
44
+
Url::parse(&format!("https://{}/", config::USER_EXPORT_URL))
45
+
.expect("env variable USER_EXPORT_URL should be a domain string"),
46
)
47
.await?;
48
+2
-2
src/config/mod.rs
···
80
resolver
81
.pds_for_did(&self::USER_DID)
82
.await
83
-
.unwrap()
84
.domain()
85
-
.unwrap()
86
.to_string()
87
}
88
})
···
80
resolver
81
.pds_for_did(&self::USER_DID)
82
.await
83
+
.expect("The did document for a user should contain a #atproto_pds service with a url")
84
.domain()
85
+
.expect("A users pds should have a domain.")
86
.to_string()
87
}
88
})