Skip to content

fix: replace bare except with except Exception in server readiness check#580

Open
haosenwang1018 wants to merge 1 commit intoOpenPipe:mainfrom
haosenwang1018:fix/bare-except
Open

fix: replace bare except with except Exception in server readiness check#580
haosenwang1018 wants to merge 1 commit intoOpenPipe:mainfrom
haosenwang1018:fix/bare-except

Conversation

@haosenwang1018
Copy link

Replace bare except: with except Exception: in server.py's vLLM readiness polling loop. This allows KeyboardInterrupt to propagate for clean cancellation instead of spinning forever.

The server polling loop catches all exceptions while waiting for the
vLLM server to become ready. Using except Exception avoids catching
KeyboardInterrupt, allowing clean cancellation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant