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 818a272 commit 66eec26Copy full SHA for 66eec26
src/auth.rs
@@ -39,8 +39,8 @@ impl DbAuthStrategy for GlobeStrategy {
39
}
40
41
return Err(format!(
42
- "Failed to authenticate database. Http Status Code: {}",
43
- status_code,
+ "Failed to authenticate database. Http Status Code: {}, Error: {}",
+ status_code, error_message
44
)
45
.into());
46
src/sqlite.rs
@@ -365,9 +365,7 @@ async fn execute_sql_and_params(
365
Ok(response) => return Ok(response),
366
Err(err) => {
367
db.connection.strategy = transport::ActiveStrategy::Http;
368
- if cfg!(debug_assertions) {
369
- eprintln!("WebSocket failed, retrying with HTTP... {}", err);
370
- }
+ return Err(err);
371
372
373
0 commit comments