MCPcopy Create free account
hub / github.com/microsoft/debugpy / reraise_exception

Function reraise_exception

src/debugpy/common/log.py:218–223  ·  view source on GitHub ↗

Like swallow_exception(), but re-raises the current exception after logging it.

(format_string="", *args, **kwargs)

Source from the content-addressed store, hash-verified

216
217
218def reraise_exception(format_string="", *args, **kwargs):
219 """Like swallow_exception(), but re-raises the current exception after logging it."""
220
221 assert "exc_info" not in kwargs
222 _exception(format_string, *args, **kwargs)
223 raise
224
225
226def to_file(filename=None, prefix=None, levels=LEVELS):

Callers 1

write_formatFunction · 0.85

Calls 1

_exceptionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…