mirror of
https://github.com/Significant-Gravitas/Auto-GPT.git
synced 2025-01-07 03:17:23 +08:00
fix(store): remove debug logging of requests (#9093)
[fix(store): remove debug logging of
requests](bb13c864f0
)
Remove this stuff:
![Screenshot 2024-12-20 at 09 50
26](https://github.com/user-attachments/assets/b178305b-31eb-4571-8762-6ac8f115eb17)
This commit is contained in:
parent
e33864f5ed
commit
44722c4b39
@ -451,16 +451,6 @@ export default class BackendAPI {
|
||||
await new Promise((resolve) => setTimeout(resolve, 100 * retryCount));
|
||||
}
|
||||
}
|
||||
console.log("Request: ", method, path, "from: ", page);
|
||||
if (token === "no-token-found") {
|
||||
console.warn(
|
||||
"No auth token found after retries. This may indicate a session sync issue between client and server.",
|
||||
);
|
||||
console.debug("Last session attempt:", retryCount);
|
||||
} else {
|
||||
console.log("Auth token found");
|
||||
}
|
||||
console.log("--------------------------------");
|
||||
|
||||
let url = this.baseUrl + path;
|
||||
const payloadAsQuery = ["GET", "DELETE"].includes(method);
|
||||
|
Loading…
Reference in New Issue
Block a user