FIX some error message can not retrieve

Signed-off-by: mmbtba <mmbtba@qq.com>
[FIX] BUG exists when user's downloads is not a PDF file

Signed-off-by: mmbtba <mmbtba@qq.com>