From 11891cce53030d9ff0f83ab8f5a888951203115c Mon Sep 17 00:00:00 2001 From: choldgraf Date: Tue, 17 Sep 2024 17:28:04 -0700 Subject: [PATCH] Add check --- book/people.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/book/people.md b/book/people.md index 8dda368..765babb 100644 --- a/book/people.md +++ b/book/people.md @@ -85,10 +85,7 @@ tags: [remove-cell] --- # Use the GH CLI to print all of the records in our time off table cmd = "gh project item-list 39 --owner 2i2c-org -L 500 --format json" -try: - out = run(cmd.split(), text=True, capture_output=True, check=True) -except Exception: - raise ValueError(out.stderr) +out = run(cmd.split(), text=True, capture_output=True, check=True) # Strip the output of all color codes and parse it as JSON, then a dataframe def strip_ansi(text):