Skip to content

Commit

Permalink
fix(store): remove debug logging of requests (#9093)
Browse files Browse the repository at this point in the history
[fix(store): remove debug logging of
requests](bb13c86)

Remove this stuff:

![Screenshot 2024-12-20 at 09 50
26](https://github.com/user-attachments/assets/b178305b-31eb-4571-8762-6ac8f115eb17)
  • Loading branch information
Swiftyos authored Dec 20, 2024
1 parent e33864f commit 44722c4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions autogpt_platform/frontend/src/lib/autogpt-server-api/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 44722c4

Please sign in to comment.