Commit
032d23a6 ("Fix stray KeyboardInterrupt after cancel")
introduced some errors into dap/server.py. A function is called but
not imported, and the wrong variable name is used. This patch
corrects both errors.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
log,
log_stack,
LogLevel,
+ thread_log,
)
from .typecheck import type_check
pass
else:
# Exception happened. Ignore and log it.
- err_string = "%s, %s" % (err, type(err))
+ err_string = "%s, %s" % (e, type(e))
thread_log("caught exception: " + err_string)
log_stack()