Skip to content

Commit

Permalink
Merge pull request #218 from StoriqaTeam/feature/subscription
Browse files Browse the repository at this point in the history
logging
  • Loading branch information
busarovalex authored Mar 7, 2019
2 parents 3a35b09 + 57dc655 commit 0e30878
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/client/payments/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ impl<C: Clone + HttpClient> PaymentsClient for PaymentsClientImpl<C> {
}

fn get_fees(&self, input: GetFees) -> Box<Future<Item = FeesResponse, Error = Error> + Send> {
info!("payments get_fees: {:?}", input);
let query = format!("/v1/fees");
Box::new(
self.request_with_auth::<_, FeesResponse>(Method::Post, query.clone(), input.clone())
Expand Down
4 changes: 4 additions & 0 deletions src/services/payout/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ impl<
.collect(),
})
.map_err(ectx!(convert => input))
})
.then(|res| {
debug!("Calculated payout: {:?}", res);
res
});

Box::new(fut)
Expand Down

0 comments on commit 0e30878

Please sign in to comment.