Suppress warnings in promises #4508
-
Is there a way to suppress warnings in promises? If not, should it be a feature? e.g.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
@larsewi Interesting, do you have any examples of warnings you'd like to suppress? |
Beta Was this translation helpful? Give feedback.
-
No, I don't believe such functionality currently exists, but I can imagine the usefulness. The closest thing that I know of are the mailfilter_include and mailfilter_exclude executor control attributes. You can define them as regular expressions and they will use that to filter lines for the emails cf-execd sends. My first thought is that suppressing some specific style warnings would be done in body common control. Perhaps it would be most useful as something very generic. For example, log_include, log_exclude that applies to the output of all daemons, not just emails sent by cf-execd as described above. |
Beta Was this translation helpful? Give feedback.
No, I don't believe such functionality currently exists, but I can imagine the usefulness.
The closest thing that I know of are the mailfilter_include and mailfilter_exclude executor control attributes. You can define them as regular expressions and they will use that to filter lines for the emails cf-execd sends.
My first thought is that suppressing some specific style warnings would be done in body common control.
Perhaps it would be most useful as something very generic. For example, log_include, log_exclude that applies to the output of all daemons, not just emails sent by cf-execd as described above.