[PR #2346] [MERGED] s3fs_cred: print detailed error message when stat file fails #2492

Closed
opened 2026-03-04 02:05:50 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2346
Author: @adamqqqplay
Created: 10/9/2023
Status: Merged
Merged: 10/9/2023
Merged by: @gaul

Base: masterHead: refine-error-message


📝 Commits (1)

  • 81b863b s3fs_cred: print detailed error message when stat file fails

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/s3fs_cred.cpp (+1 -1)

📄 Description

Relevant Issue (if applicable)

n/a

Details

When the password file does not exist, now only the error "s3fs: unexpected error from stat" will be reported, which is not convenient for locating the problem.

In order to fix this problem, this patch adds detailed error message printing.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/2346 **Author:** [@adamqqqplay](https://github.com/adamqqqplay) **Created:** 10/9/2023 **Status:** ✅ Merged **Merged:** 10/9/2023 **Merged by:** [@gaul](https://github.com/gaul) **Base:** `master` ← **Head:** `refine-error-message` --- ### 📝 Commits (1) - [`81b863b`](https://github.com/s3fs-fuse/s3fs-fuse/commit/81b863b06a4cd693c2f3ac1393584996bb6f873c) s3fs_cred: print detailed error message when stat file fails ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/s3fs_cred.cpp` (+1 -1) </details> ### 📄 Description <!-- -------------------------------------------------------------------------- Please describe the purpose of the pull request(such as resolving the issue) and what the fix/update is. --------------------------------------------------------------------------- --> ### Relevant Issue (if applicable) n/a ### Details When the password file does not exist, now only the error "s3fs: unexpected error from stat" will be reported, which is not convenient for locating the problem. In order to fix this problem, this patch adds detailed error message printing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:05:50 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#2492
No description provided.