summaryrefslogtreecommitdiff
path: root/py/chat.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/chat.py')
-rw-r--r--py/chat.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/chat.py b/py/chat.py
index 294ae63..8ef4e89 100644
--- a/py/chat.py
+++ b/py/chat.py
@@ -54,3 +54,5 @@ try:
vim.command("redraw")
except KeyboardInterrupt:
vim.command("normal! a Ctrl-C...")
+except openai.error.Timeout:
+ vim.command("normal! a Connection timeout...")