[GH-ISSUE #1980] [bug]: Request hangs if the pre-request script is not valid #639

Closed
opened 2026-03-16 16:28:11 +03:00 by kerem · 0 comments
Owner

Originally created by @andriuspetrauskis on GitHub (Nov 28, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1980

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I enter pre-request script some invalid javascript code, I expect app to show an error. Instead the request just keeps loading.

Steps to reproduce

  1. Go to https://hoppscotch.io/
  2. Click Pre-request Script
  3. Enter any random text
  4. Press send

Environment

Production

Version

Cloud

Originally created by @andriuspetrauskis on GitHub (Nov 28, 2021). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1980 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior When I enter pre-request script some invalid javascript code, I expect app to show an error. Instead the request just keeps loading. ### Steps to reproduce 1. Go to https://hoppscotch.io/ 2. Click Pre-request Script 3. Enter any random text 4. Press send ### Environment Production ### Version Cloud
kerem 2026-03-16 16:28:11 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#639
No description provided.