Raise exception when download.dl gets an error