1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/ext/console
Nayeem Rahman ffb0318e4a
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 15:08:17 +02:00
..
01_console.js fix(console): handle error when inspecting promise-like (#19083) 2023-05-11 15:08:17 +02:00
Cargo.toml chore: forward v1.33.2 release commit to main (#18990) 2023-05-04 19:19:35 +02:00
internal.d.ts refactor: remove ext/console/01_colors.js (#18927) 2023-04-30 09:11:37 +00: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-04-30 09:11:37 +00: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/