mirror of
https://github.com/usebruno/bruno.git
synced 2025-06-25 06:21:57 +02:00
fix: runner result error display (#3176)
This commit is contained in:
parent
ed20eccc25
commit
da9f669a2d
@ -15,7 +15,7 @@ import StyledWrapper from './StyledWrapper';
|
|||||||
const ResponsePane = ({ rightPaneWidth, item, collection }) => {
|
const ResponsePane = ({ rightPaneWidth, item, collection }) => {
|
||||||
const [selectedTab, setSelectedTab] = useState('response');
|
const [selectedTab, setSelectedTab] = useState('response');
|
||||||
|
|
||||||
const { requestSent, responseReceived, testResults, assertionResults } = item;
|
const { requestSent, responseReceived, testResults, assertionResults, error } = item;
|
||||||
|
|
||||||
const headers = get(item, 'responseReceived.headers', []);
|
const headers = get(item, 'responseReceived.headers', []);
|
||||||
const status = get(item, 'responseReceived.status', 0);
|
const status = get(item, 'responseReceived.status', 0);
|
||||||
@ -36,6 +36,7 @@ const ResponsePane = ({ rightPaneWidth, item, collection }) => {
|
|||||||
data={responseReceived.data}
|
data={responseReceived.data}
|
||||||
dataBuffer={responseReceived.dataBuffer}
|
dataBuffer={responseReceived.dataBuffer}
|
||||||
headers={responseReceived.headers}
|
headers={responseReceived.headers}
|
||||||
|
error={error}
|
||||||
key={item.filename}
|
key={item.filename}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user