@@ -104,7 +104,7 @@ pub async fn handle_github(
104
104
& request. comment . html_url ,
105
105
)
106
106
. await
107
- . map_err ( |e| e . to_string ( ) ) ?;
107
+ . map_err ( |e| format ! ( "{:?}" , e ) ) ?;
108
108
}
109
109
}
110
110
@@ -239,7 +239,7 @@ async fn branch_for_rollup(
239
239
let revert_sha = create_commit (
240
240
& client,
241
241
& data,
242
- repository_url ,
242
+ "https://api.github.com/repos/rust-timer/rust" ,
243
243
& format ! ( "Revert to {}" , old_master_commit. sha) ,
244
244
& old_master_commit. commit . tree . sha ,
245
245
& [ & current_master_commit. sha ] ,
@@ -250,7 +250,7 @@ async fn branch_for_rollup(
250
250
let merge_sha = create_commit (
251
251
& client,
252
252
& data,
253
- repository_url ,
253
+ "https://api.github.com/repos/rust-timer/rust" ,
254
254
& format ! (
255
255
"rust-timer simulated merge of {}\n \n Original message:\n {}" ,
256
256
rollup_merge. sha, rollup_merge. commit. message
@@ -283,7 +283,7 @@ async fn branch_for_rollup(
283
283
create_ref (
284
284
& client,
285
285
& data,
286
- repository_url ,
286
+ "https://api.github.com/repos/rust-timer/rust" ,
287
287
& format ! ( "refs/heads/{}" , branch) ,
288
288
& merge_sha,
289
289
)
0 commit comments