Merge remote-tracking branch 'origin/main'
# Conflicts: # mysql-proxy/src/handler.rs
This commit is contained in:
commit
ecdebdd6c0
3 files changed
+39
No files matched your search
@@ -167,6 +167,7 @@ pub async fn query(
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
let result = result.map_err(|e| {
|
||||
logger.log(&LogEntry::new("/query", "http").with_conn(&req.conn).with_sql(&req.sql).with_error(&e.1.error));
|
||||
e
|
||||
@@ -224,6 +225,7 @@ pub async fn execute(
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
let exec_result = exec_result.map_err(|e| {
|
||||
logger.log(&LogEntry::new("/execute", "http").with_conn(&req.conn).with_sql(&req.sql).with_error(&e.1.error));
|
||||
e
|
||||
|
||||
Reference in new issue
Block a user