Skip to content

Commit

Permalink
chore(cloud_upload): improve err msg (#2705)
Browse files Browse the repository at this point in the history
  • Loading branch information
greyscaled authored Feb 26, 2024
1 parent 2231445 commit 1a2b937
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/sqlbuiltins/src/functions/table/object_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ impl TableFunc for CloudUpload {
if !ctx.get_session_vars().is_cloud_instance() {
return Err(ExtensionError::String(
format!(
"access unavailable, {} is not supported in local environments",
"{} is only available when connected to GlareDB Cloud",
self.name(),
)
.to_string(),
Expand All @@ -649,7 +649,7 @@ impl TableFunc for CloudUpload {
.ok_or_else(|| {
ExtensionError::String(
format!(
"access unavailable, {} is not supported in local environments",
"{} is only available when connected to GlareDB Cloud",
self.name(),
)
.to_string(),
Expand Down

0 comments on commit 1a2b937

Please sign in to comment.