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()))