Advertisement
dimon-torchila

Untitled

May 12th, 2023
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. DEBUG [9ffd69b023b34bb084465e8589ed06a1] auth checks are disabled for current service
  2. INFO [POST /v1/get_courier?courier_id=2] start handling request_body=
  3. ERROR [POST /v1/get_courier?courier_id=2] Fatal error occured: ERROR: syntax error at or near "="\nLINE 1: SELECT * FROM hello_schema.couriersWHERE courier_id = $1\n ^\n
  4. DEBUG [POST /v1/get_courier?courier_id=2] Ready to throw
  5. ERROR [POST /v1/get_courier?courier_id=2] exception in 'handler-get-courier' handler in handle_request: ERROR: syntax error at or near "="\nLINE 1: SELECT * FROM hello_schema.couriersWHERE courier_id = $1\n ^\n (userver::storages::postgres::SyntaxError)
  6. ERROR [POST /v1/get_courier?courier_id=2] Response finished meta_code=500 response_body=
  7.  
  8.  
  9. auto result = pg_cluster_->Execute(
  10. userver::storages::postgres::ClusterHostType::kMaster,
  11. "SELECT * FROM hello_schema.couriers"
  12. "WHERE courier_id = $1", std::stoi(courier_id)
  13. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement