MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / log_exception

Function log_exception

Scripts/Developer Base/Smart Notes.py:131–137  ·  view source on GitHub ↗
(exc: Exception)

Source from the content-addressed store, hash-verified

129# --- utilities ---
130
131def log_exception(exc: Exception):
132 try:
133 with open(ERROR_LOG, 'a') as f:
134 f.write('\n--- %s ---\n' % datetime.now().isoformat())
135 traceback.print_exc(file=f)
136 except Exception:
137 pass
138
139
140def score_query(a, b):

Callers 8

curses_searchFunction · 0.70
view_note_cursesFunction · 0.70
action_for_noteFunction · 0.70
add_note_cursesFunction · 0.70
curses_date_pickerFunction · 0.70
curses_reminders_menuFunction · 0.70
main_menuFunction · 0.70
Smart Notes.pyFile · 0.70

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected