Skip to content

Commit 28e2cfa

Browse files
nickmshelleyjberkel
authored andcommitted
Change fatalError to throw.
1 parent feb26b0 commit 28e2cfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SQLite/Typed/Query.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ extension Connection {
965965
}
966966
throw QueryError.noSuchTable(name: namespace)
967967
}
968-
fatalError("no such table: \(namespace)")
968+
throw QueryError.noSuchTable(name: namespace)
969969
}
970970
for q in queries {
971971
try expandGlob(query.clauses.join.count > 0)(q)

0 commit comments

Comments
 (0)