I assume the caution was for unsporting behaviour as the keeper messed up his throw and knew he had to touch the ball again because Buckley was right there. If he'd been all on his own it would have been just an indirect free kick.
This is where it's a shame refs can't be interviewed...