nushell/crates/nu-protocol/tests
Douglas 4a967d19a9
Remove BACKTRACE message for non-panic errors (#15143)
# Description

Resolves #15070 by removing the `BACKTRACE` message from all Nushell
(non-panic) errors. This was added in #14945 and is useful for
debugging, but not all that helpful to the typical shell user,
especially since most shell errors won't have a backtrace anyway.

At some point it would be nice to display this message only when there
*is* a backtrace available.

# User-Facing Changes

Error messages will be more concise.

# Tests + Formatting

Updated tests.

- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`

# After Submitting

We should include information in the *"Custom Commands"* chapter of the
documentation on how to enable this for debugging.
2025-02-20 15:59:11 +08:00
..
pipeline fix range bugs in str substring, str index-of, slice, bytes at (#14863) 2025-01-30 06:50:01 -06:00
into_config.rs Improve and fix filesize formatting/display (#14397) 2025-01-22 22:24:51 -08:00
mod.rs Implementing ByteStream interuption on infinite stream (#13552) 2025-01-11 13:28:08 -08:00
test_config.rs Remove BACKTRACE message for non-panic errors (#15143) 2025-02-20 15:59:11 +08:00
test_pipeline_data.rs Replace ExternalStream with new ByteStream type (#12774) 2024-05-16 07:11:18 -07:00
test_signature.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
test_value.rs add function to make env vars case-insensitive (#14390) 2024-12-03 20:47:58 -06:00