jet-client-support
jet-client-support copied to clipboard
Is there a way to prevent Request being made on Pre-Request script?
Is your feature request related to a problem?
Let's say I have a Request but I only want that being run on a specific condition.
In general, I can just write throw new Error("cause of the error");
and thats it.
In my case I would like to use console.log()
or console.info()
before throwing an error but because of the throw new
the console message is not displayed.
Describe the solution you'd like
Would it be possible to use return false;
and still logging to console?
Currently the script return false;
results the following:
When I would use return false
I would expect that the Request is not being made at all.
Additional context
No response