Win32Error: Add to_s and inspect methods#3331
Conversation
kenhys
left a comment
There was a problem hiding this comment.
I'm not sure #to_s and #message should be implemented separately.
Anyway this change LGTM.
Since the previous code doesn't have to_s method, it shows only `Fluent::Win32Error`, doesn't show the detail. Signed-off-by: Takuro Ashie <ashie@clear-code.com>
Ah sorry, I already removed #message locally but forgot to push it. |
cosmo0920
left a comment
There was a problem hiding this comment.
Looks reasonable for me. 👍
|
Thanks. BTW I found a weird behavior of td-agent 4.x on Windows by this patch. |
Which issue(s) this PR fixes:
none
What this PR does / why we need it:
Additional fix for #3325 and #3329.
Since the previous code doesn't have to_s method, it shows only
Fluent::Win32Error, doesn't show the detail.Docs Changes:
none
Release Note:
Same with #3325