1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-13 08:02:38 +03:00

show browser logs on error

This commit is contained in:
Bruno Windels
2018-07-27 18:43:11 +02:00
parent 976f041bba
commit 5cd52e2ebd
2 changed files with 16 additions and 4 deletions

View File

@@ -58,9 +58,9 @@ function logXHRRequests(page) {
const type = req.resourceType();
if (type === 'xhr' || type === 'fetch') {
buffer += `${req.method()} ${req.url()} \n`;
if (req.method() === "POST") {
buffer += " Post data: " + req.postData();
}
// if (req.method() === "POST") {
// buffer += " Post data: " + req.postData();
// }
}
});
return {