Skip to content

Commit

Permalink
fix: update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
n-dusan committed Jan 30, 2024
1 parent ca6f185 commit e37c794
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/server/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,8 @@ pub async fn serve_archive(
Ok(db) => db,
Err(err) => {
tracing::error!(
"error: could not connect to database. Confirm that local `SQLite` database exists in `.stelae` directory in `{}`",
&raw_archive_path
);
"error: could not connect to database. Confirm that DATABASE_URL env var is set correctly."
);
tracing::error!("Error: {:?}", err);
std::process::exit(1);
}
Expand Down

0 comments on commit e37c794

Please sign in to comment.