Project

General

Profile

Actions

Feature #5692

closed

IMAP -- error for msg_att will report the UID

Added by art.lussos (art lussos) over 12 years ago. Updated over 12 years ago.

Status:
Closed
Target version:
[ruby-core:41413]

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

Actions

Also available in: Atom PDF

Like0
Like0Like0