Better debuggability for node sync problems
This commit is contained in:
parent
73d87d61c4
commit
2d036f847a
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
|
@ -379,7 +379,7 @@ func actionSyncToServer(w http.ResponseWriter, r *http.Request) { // {{{
|
|||
|
||||
_, err = db.Exec(`CALL add_nodes($1, $2::uuid, $3::jsonb)`, user.UserID, user.ClientUUID, request.NodeData)
|
||||
if err != nil {
|
||||
Log.Error("sync", "error", err)
|
||||
Log.Error("sync", "error", err, "user_id", user.UserID, "client_uuid", user.ClientUUID, "node_data", request.NodeData)
|
||||
httpError(w, err)
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue