Skip to content

Commit

Permalink
Capitalisation in libSQL URL error messages
Browse files Browse the repository at this point in the history
Signed-off-by: itowlson <[email protected]>
  • Loading branch information
itowlson authored Jul 10, 2023
1 parent 3ee9bb1 commit eba7e24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/trigger/src/runtime_config/sqlite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ impl LibsqlOpts {
fn build(&self) -> anyhow::Result<Arc<dyn Connection>> {
let url = &check_url(&self.url).with_context(|| {
format!(
"unexpected libsql url '{}' in runtime config file ",
"unexpected libSQL URL '{}' in runtime config file ",
self.url
)
})?;
Expand All @@ -150,7 +150,7 @@ fn check_url(url: &str) -> anyhow::Result<&str> {
Ok(url)
} else {
Err(anyhow::anyhow!(
"url does not start with 'https://' or 'http://'. Spin currently only supports talking to libsql databases over http(s)"
"URL does not start with 'https://' or 'http://'. Spin currently only supports talking to libSQL databases over HTTP(S)"
))
}
}
Expand Down

0 comments on commit eba7e24

Please sign in to comment.