It truly is a smart idea to catch and re-raise KeyboardInterrupts, so as to continue to eliminate the program employing Ctrl-C. Logging is outdoors the scope from the dilemma, but a very good possibility is logging. Documentation with the sys and traceback modules. Typically, Confident, it could be Harmless provided https://helpmehigh.com/