Skip to content

Commit b029661

Browse files
committed
Improve error message formatting in SQL file parsing
1 parent ebdac5b commit b029661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webserver/database/sql.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl ParsedSqlFile {
5252
Self {
5353
statements: vec![ParsedStatement::Error(
5454
e.into()
55-
.context(format!("While parsing file {}", source_path.display())),
55+
.context(format!("Error parsing file {}", source_path.display())),
5656
)],
5757
source_path: source_path.to_path_buf(),
5858
}

0 commit comments

Comments
 (0)