extension: Fix manifest filename in error message (#22906)

This PR fixes the incorrect filename for the extension manifest being
used in an error message.

It should be `extension.toml` and not `extension.json`.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-01-09 12:38:46 -05:00 committed by GitHub
parent 5c239be757
commit 4aa4a40e2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -175,7 +175,7 @@ impl ExtensionManifest {
.await
.with_context(|| format!("failed to load {extension_name} extension.toml"))?;
toml::from_str(&manifest_content)
.with_context(|| format!("invalid extension.json for extension {extension_name}"))
.with_context(|| format!("invalid extension.toml for extension {extension_name}"))
}
}
}