mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-26 22:25:40 +00:00
fix: sending script error
This commit is contained in:
committed by
Maintainer Bruno
parent
c96042c53f
commit
cff4f5457b
@@ -2062,6 +2062,10 @@ export const collectionsSlice = createSlice({
|
||||
if (['sending', 'received'].includes(item.requestState)) return;
|
||||
item.requestState = 'queued';
|
||||
item.cancelTokenUid = cancelTokenUid;
|
||||
// Clear previous script error messages when a new request starts
|
||||
item.preRequestScriptErrorMessage = null;
|
||||
item.postResponseScriptErrorMessage = null;
|
||||
item.testScriptErrorMessage = null;
|
||||
}
|
||||
|
||||
if (type === 'request-sent') {
|
||||
|
||||
Reference in New Issue
Block a user