aboutsummaryrefslogtreecommitdiffstats
path: root/config/doom/snippets/python-mode/cmktrace
blob: 85f42a39d604d6889f8be39ff6147477511dedd9 (plain)
1
2
3
4
5
6
7
# -*- mode: snippet -*-
# name: cmktrace
# key: ctrace
# --
import traceback
from cmk.gui.log import logger
logger.warn("\n\n"+"\n".join(traceback.format_stack()))