Skip to content

Commit

Permalink
fix(store): remove debug logging of requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftyos committed Dec 20, 2024
1 parent e33864f commit bb13c86
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 bb13c86

Please sign in to comment.