/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/specs/cli/otel_basic/log_exception.ts
8 строк
298 B
Bartek Iwańczuk
fix(ext/telemetry): add exception.* attributes to OTEL log records (#32726)
17 мар 2026, 15:44
Не верифицирован
17 мар 2026, 15:44
c665693
Код
Авторство
О чём код?
// Copyright 2018-2026 the Deno authors. MIT license. const error = new Error("test error"); error.stack = "Error: test error\n at file:///test.ts:1:1"; console.error(error); console.log("plain log"); console.error(error, "with extra context"); console.error("string error", "with extra arg");