From 4159ea0e552a991532e61f7e4ba0b3a9fcade408 Mon Sep 17 00:00:00 2001 From: Sam Hedin Date: Sat, 28 Mar 2020 17:27:59 +0100 Subject: [PATCH] Update error description --- crates/nu-cli/src/commands/headers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-cli/src/commands/headers.rs b/crates/nu-cli/src/commands/headers.rs index 743d373044..295178f111 100644 --- a/crates/nu-cli/src/commands/headers.rs +++ b/crates/nu-cli/src/commands/headers.rs @@ -52,7 +52,7 @@ pub fn headers( } }).collect()) } - _ => Err(ShellError::untagged_runtime_error("Couldn't find all headers, was the input a properly formatted table?")), + _ => Err(ShellError::untagged_runtime_error("Couldn't find all headers, was the input a properly formatted, non-empty table?")), }?; //Each row is a dictionary with the headers as keys