<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fatal(msg, *args, **kwargs):
 """Print a red `msg` to STDERR and exit. To be used in a context of an exception, also prints out the exception. The message is formatted with `args` & `kwargs`. """

    exc_str = format_exc()
    if exc_str.strip() != 'NoneType: None':
        logger.info('{}', format_exc())
    fatal_noexc(msg, *args, **kwargs)