We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d4805b2 + 0359ccd commit e0d34d8Copy full SHA for e0d34d8
src/proxy/testflow/testflow.service.ts
@@ -317,13 +317,13 @@ export class TestflowService {
317
(axiosError.response?.statusText ||
318
this.getStatusText(axiosError.response?.status))
319
: null,
320
- data: responseData || { message: axiosError.message },
+ data: `${responseData}` || JSON.stringify({ message: axiosError.message }),
321
headers: axiosError.response?.headers,
322
};
323
} catch (e) {
324
return {
325
status: null,
326
- data: { message: axiosError.message },
+ data: JSON.stringify({ message: axiosError.message }),
327
328
329
}
0 commit comments