diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-12-02 06:50:19 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-12-02 06:50:19 +0000 |
| commit | d482eb8f33b571c56ca3e3fa4ae05d6cd8069569 (patch) | |
| tree | 939f7ad612b50aed6b91602a2bd1c42ad3994c0c | |
| parent | 7cb0fc43baf0f0986e7454efd7e0d4b64efc15b4 (diff) | |
fix(repo_ref): clarify no repo event err msg
as there might be a repo event but we couldn't find it
| -rw-r--r-- | src/lib/client.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/client.rs b/src/lib/client.rs index cd9a75c..ee48c14 100644 --- a/src/lib/client.rs +++ b/src/lib/client.rs | |||
| @@ -855,7 +855,7 @@ pub async fn get_repo_ref_from_cache( | |||
| 855 | let repo_ref = RepoRef::try_from(( | 855 | let repo_ref = RepoRef::try_from(( |
| 856 | repo_events | 856 | repo_events |
| 857 | .first() | 857 | .first() |
| 858 | .context("no repo events at specified coordinates")? | 858 | .context("no repo announcement event found at specified coordinates")? |
| 859 | .clone(), | 859 | .clone(), |
| 860 | repo_coordinates | 860 | repo_coordinates |
| 861 | .iter() | 861 | .iter() |