1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 10:07:54 -05:00
denoland-deno/ext/console
Nayeem Rahman 14bf8dc506 fix(console): handle error when inspecting promise-like (#19083)
Fixes
https://discord.com/channels/684898665143206084/684911491035430919/1105900195406958672.

This was caused by: 
- A `TypeError` from `core.getPromiseDetails()` for promise-likes which
also lead to that code path.
- Swallowing internal formatting errors by returning `undefined`. I've
made it so that a special message is formatted in that case instead
(note that this case is fixed now):
![image](https://github.com/denoland/deno/assets/29990554/65bb9612-60b2-4e31-bf5e-e20976601593)
2023-05-11 17:26:30 -04:00
..
01_console.js fix(console): handle error when inspecting promise-like (#19083) 2023-05-11 17:26:30 -04:00
Cargo.toml 1.33.2 (#18988) 2023-05-04 16:39:05 +02:00
internal.d.ts refactor: remove ext/console/01_colors.js (#18927) 2023-05-04 16:18:12 +02:00
lib.deno_console.d.ts chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
lib.rs refactor: remove ext/console/01_colors.js (#18927) 2023-05-04 16:18:12 +02:00
README.md Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00

deno_console

This crate implements the Console API.

Spec: https://console.spec.whatwg.org/