diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2023-05-11 14:08:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-11 15:08:17 +0200 |
commit | ffb0318e4a2427abd0ab9c77ab48ef57357b0dc0 (patch) | |
tree | 20c1f34fc49b00966584ef01d2eafb35aa2eabae /cli/tsc | |
parent | 2ba9ccc1ab25e5c631afcbb12b53f4545ca7f750 (diff) |
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):

Diffstat (limited to 'cli/tsc')
0 files changed, 0 insertions, 0 deletions