Skip to content

Commit

Permalink
Merge branch 'main' into spacedrive-changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendonovich committed May 10, 2024
2 parents f3c8eec + b28340e commit 73a4a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/lib/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ impl PrismaClientInternals {
Ok(url) => Some(url),
Err(_) => source.load_shadow_database_url()?,
}
.unwrap();
.expect("Datasource could not be fetched, please check your schema.prisma file or your environment variables");

match url.starts_with("file:") {
true => {
Expand Down

0 comments on commit 73a4a03

Please sign in to comment.