diff options
| author | Jeff Carr <[email protected]> | 2025-10-28 22:26:32 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-28 22:26:32 -0500 |
| commit | d1c6c000ccedf21e356ee30411b861b544313e18 (patch) | |
| tree | 753ad517e06cea3e16b6ea2fcdc2794075915456 /theMagicOfAutocomplete.go | |
| parent | 816758895ca1244c967817565b5d9895857e1cbb (diff) | |
remove panic's
Diffstat (limited to 'theMagicOfAutocomplete.go')
| -rw-r--r-- | theMagicOfAutocomplete.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/theMagicOfAutocomplete.go b/theMagicOfAutocomplete.go index 95585bd..e8a63ff 100644 --- a/theMagicOfAutocomplete.go +++ b/theMagicOfAutocomplete.go @@ -171,8 +171,11 @@ func examineArgvHistory() { // me.debug = true me.pb.Stddbg += fmt.Sprintf("config.CreateCacheDirPB() err(%v)\n", me.Err) + me.pb.Stddbg += fmt.Sprintf("argvpb.Load() history file failed") PrintStderr() - panic("argvpb.Load() history file failed") + me.all = NewArgvs() + me.debug = true + return } if me.debug { // use this if you are having trouble debugging this code |
