Feature #5692

IMAP -- error for msg_att will report the UID

Added by art lussos over 2 years ago. Updated over 2 years ago.

[ruby-core:41413]
Status:Closed
Priority:Normal
Assignee:Shugo Maeda
Category:-
Target version:1.9.2

Description

I am getting errors in msgatt 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 msgatt the UID and if an error occurs report the UID.

def numericresponse
n = number
...
...

data = FetchData.new(n, msg
att(n))
...
end

def msgatt(n)
...
...
...
else
parse
error("unknown attribute `%s' for UID {%d}", token.value, n)
...
end

Associated revisions

Revision 34010
Added by Shugo Maeda over 2 years ago

  • lib/net/imap.rb: includes the sequence number of UID in a error message. suggested by art lussos. [Feature #5692]

History

#1 Updated by Shugo Maeda over 2 years ago

  • Status changed from Open to Assigned
  • Assignee set to Shugo Maeda

#2 Updated by Shugo Maeda over 2 years 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. [Feature #5692]

Also available in: Atom PDF