Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DEBUG [9ffd69b023b34bb084465e8589ed06a1] auth checks are disabled for current service
- INFO [POST /v1/get_courier?courier_id=2] start handling request_body=
- 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
- DEBUG [POST /v1/get_courier?courier_id=2] Ready to throw
- 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)
- ERROR [POST /v1/get_courier?courier_id=2] Response finished meta_code=500 response_body=
- auto result = pg_cluster_->Execute(
- userver::storages::postgres::ClusterHostType::kMaster,
- "SELECT * FROM hello_schema.couriers"
- "WHERE courier_id = $1", std::stoi(courier_id)
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement