Feature #5692
IMAP -- error for msg_att will report the UID
| Status: | Closed | Start date: | 12/01/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | - | |||
| Target version: | 1.9.2 |
Description
I am getting errors in msg_att and it would be easier if I could get the UID of the email causing the issue. What I propose is that we pass into the method msg_att the UID and if an error occurs report the UID.
def numeric_response
n = number
...
...
data = FetchData.new(n, msg_att(n))
...
end
def msg_att(n)
...
...
...
else
parse_error("unknown attribute `%s' for UID {%d}", token.value, n)
...
end
Associated revisions
* lib/net/imap.rb: includes the sequence number of UID in a error
message. suggested by art lussos.
[ruby-core:41413] [Feature #5692]
History
Updated by shugo (Shugo Maeda) 6 months ago
- Status changed from Open to Assigned
- Assignee set to shugo (Shugo Maeda)
Updated by shugo (Shugo Maeda) 6 months ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r34010.
art , thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/imap.rb: includes the sequence number of UID in a error
message. suggested by art lussos.
[ruby-core:41413] [Feature #5692]