Correctly log url shortening errors