Revision 8a6cc608
Added by Marc Dequènes almost 11 years ago
data/cyborghood/schema/global.yaml | ||
---|---|---|
"flags":
|
||
type: seq
|
||
sequence:
|
||
- {type: str, enum: [nomaildeletion, ignorereplay, imapverbose]}
|
||
- {type: str, enum: [nomaildeletion, ignorereplay, imapverbose, stopatfirsterror]}
|
||
"contact":
|
||
type: map
|
||
mapping:
|
lib/cyborghood/imap.rb | ||
---|---|---|
|
||
logger.debug "*** Fetched mail ##{message_id}"
|
||
unless message_handler.call IMAPMessage.new(@imap, message_id)
|
||
@stop_mail_check = true
|
||
@stop_mail_check = true if @config.debug.flags.include?('stopatfirsterror')
|
||
break
|
||
end
|
||
end
|
Also available in: Unified diff
[evol] implement stopatfirsterror debug flag (was unconditionnal but broken until 7e264b1)