[minor] move console links printing in separate function