Skip to content

Commit 45a0fc3

Browse files
Remove debug logging
1 parent 8fc6383 commit 45a0fc3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

app/builds/page.tsx

+2-4
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export default function GameBuildsPage() {
8181
};
8282
});
8383
})
84-
.catch((e) => {});
84+
.catch((e) => { console.log("error with game validation: " + e) });
8585
} else {
8686
setVersionData((prevVersionData) => {
8787
const oldData = prevVersionData[version.uuid] ?? {
@@ -112,7 +112,7 @@ export default function GameBuildsPage() {
112112
};
113113
});
114114
})
115-
.catch((e) => {});
115+
.catch((e) => { console.log("error with offline validation: " + e) });
116116
} else {
117117
setVersionData((prevVersionData) => {
118118
const oldData = prevVersionData[version.uuid] ?? {
@@ -150,7 +150,6 @@ export default function GameBuildsPage() {
150150
};
151151

152152
const handleValidationEvent = (e: ValidationEvent, offline: boolean) => {
153-
console.log(e);
154153
setVersionData((prevVersionData) => {
155154
const oldData = prevVersionData[e.uuid] ?? {
156155
offlineSize: undefined,
@@ -160,7 +159,6 @@ export default function GameBuildsPage() {
160159
const newData = offline
161160
? { ...oldData, offlineSize: newBytes }
162161
: { ...oldData, gameSize: newBytes };
163-
console.log(newData);
164162
return {
165163
...prevVersionData,
166164
[e.uuid]: newData,

0 commit comments

Comments
 (0)