better output on urlerror