We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a6e342 commit 3d01e74Copy full SHA for 3d01e74
libsql-server/src/error.rs
@@ -185,7 +185,7 @@ impl IntoResponse for &Error {
185
QueryError(_) => self.format_err(StatusCode::BAD_REQUEST),
186
InvalidHost(_) => self.format_err(StatusCode::BAD_REQUEST),
187
InvalidPath(_) => self.format_err(StatusCode::BAD_REQUEST),
188
- NamespaceDoesntExist(_) => self.format_err(StatusCode::BAD_REQUEST),
+ NamespaceDoesntExist(_) => self.format_err(StatusCode::NOT_FOUND),
189
PrimaryConnectionTimeout => self.format_err(StatusCode::INTERNAL_SERVER_ERROR),
190
NamespaceAlreadyExist(_) => self.format_err(StatusCode::BAD_REQUEST),
191
InvalidNamespace => self.format_err(StatusCode::BAD_REQUEST),
0 commit comments