Skip to content

WindowsFile: Show the path when Win32Error is occured#3329

Merged
ashie merged 1 commit into
fluent:masterfrom
ashie:followup-#3325
Apr 13, 2021
Merged

WindowsFile: Show the path when Win32Error is occured#3329
ashie merged 1 commit into
fluent:masterfrom
ashie:followup-#3325

Conversation

@ashie

@ashie ashie commented Apr 13, 2021

Copy link
Copy Markdown
Member

Which issue(s) this PR fixes:
none

What this PR does / why we need it:
In #3325 we added Win32Error to show Windows specific errors correctly,
but it's not enough for debugging because it doesn't show which file
causes the error.

Docs Changes:
none

Release Note:
none, same with #3325

In fluent#3325 we added Win32Error to show Windows specific errors correctly,
but it's not enough for debugging because it doesn't show which file
causes the error.

Signed-off-by: Takuro Ashie <ashie@clear-code.com>
@ashie ashie requested review from cosmo0920 and kenhys April 13, 2021 04:59

@cosmo0920 cosmo0920 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks attractive for me.

@kenhys kenhys left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@ashie ashie merged commit 07df9a0 into fluent:master Apr 13, 2021
@ashie ashie deleted the followup-#3325 branch April 13, 2021 05:25
@ashie

ashie commented Apr 14, 2021

Copy link
Copy Markdown
Member Author

Hmm, it's still not enough. to_s is missing so that it shows only "Fluent::Win32Error".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants