Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/core/webview/ClineProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements

// Check if local dev server is running.
try {
await axios.get(`http://${localServerUrl}`)
axios.get(`http://${localServerUrl}`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the await means the try/catch will no longer catch errors from axios.get. If you still intend to handle failures (e.g. to show an error or fallback HTML), consider attaching a .catch() block. Otherwise, removing the try/catch block may be clearer.

} catch (error) {
vscode.window.showErrorMessage(t("common:errors.hmr_not_running"))

Expand Down