When logging a warning with this snippet: (using
logging module and
try: that_library.do_something() except that_library.Error: logging.warning('Parse error in that library', exc_info=True)
Title of created issue will be
Error. The default generated title may be good in many cases (specially exceptions) but not in this case (a warning with well-written message).
How we can change title of issue to error message (Parse error in that library)?