From 2665381cf6c43a28e8a930ab9215272bffa5f787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Mon, 19 Jul 2021 10:06:43 +0200 Subject: cmk dev --- config/doom/snippets/python-mode/cmktrace | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 config/doom/snippets/python-mode/cmktrace (limited to 'config/doom/snippets') diff --git a/config/doom/snippets/python-mode/cmktrace b/config/doom/snippets/python-mode/cmktrace new file mode 100644 index 0000000..85f42a3 --- /dev/null +++ b/config/doom/snippets/python-mode/cmktrace @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: cmktrace +# key: ctrace +# -- +import traceback +from cmk.gui.log import logger +logger.warn("\n\n"+"\n".join(traceback.format_stack())) -- cgit v1.2.3