in amazon_kclpy/kcl.py [0:0]
def run(self):
"""
Starts this KCL processor's main loop.
"""
line = True
"""
We don't make any effort to stop errors from propagating up and exiting the program
because there is really nothing the KCLpy can do to recover after most exceptions that could
occur, e.g. I/O error or json decoding exception (the MultiLangDaemon should never write a non-json string
to this process).
"""
while line:
line = self.io_handler.read_line()
if line:
self._handle_a_line(line)