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.

貢獻者指南