You've already forked matrix-react-sdk
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user