File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -431,12 +431,22 @@ impl HookEnv {
431431 return Ok ( None ) ;
432432 }
433433 for path in to_remove {
434- diff. remove_path_from_old_and_new ( path)
435- . inspect_err ( |err| debug ! ( "Failed to remove path from diff: '{:?}'" , err) ) ?;
434+ diff. remove_path_from_old_and_new ( path) . inspect_err ( |err| {
435+ debug ! (
436+ "Failed to remove path from diff: '{:?}' path: '{}'" ,
437+ err,
438+ path. display( )
439+ )
440+ } ) ?;
436441 }
437442 for install in installs {
438- diff. add_path_to_old_and_new ( install)
439- . inspect_err ( |err| debug ! ( "Failed to add path to diff: '{:?}'" , err) ) ?;
443+ diff. add_path_to_old_and_new ( install) . inspect_err ( |err| {
444+ debug ! (
445+ "Failed to add path to diff: '{:?}' path: '{}'" ,
446+ err,
447+ install. display( )
448+ )
449+ } ) ?;
440450 }
441451
442452 Ok ( Some ( EnvDiffOperation :: Change (
You can’t perform that action at this time.
0 commit comments