drivendataorg/cloudpathlib

File not found error surfaces local path instead of cloud path

开放

#118 创建于 2021年2月5日

 (3 条评论) (3 个反应) (0 位负责人)Python (87 个派生)auto 404
buggood first issue

仓库指标

星标
 (624 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

I was loading a file from s3 and mistyped the file location. The error I got showed me the local tmp path, which was misleading. I think this should be the standard error you get when you try to do a cloud operation on a file that doesn't exist (something like "head object does not exist") or at least something that includes the cloud path instead of the local path.

DATA_DIR here is an S3Path.

贡献者指南