Skip to content

Commit 4572293

Browse files
Merge pull request #89 from topcoder-platform/TCA-595_fcc-api-403
TCA-595 Adds logging for 403s -> dev
2 parents a7d83df + 1485b83 commit 4572293

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

api-server/src/server/boot/challenge.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,8 @@ export function isValidChallengeCompletion(req, res, next) {
252252
body: { id, challengeType, solution }
253253
} = req;
254254

255+
console.debug('Checking validity', id, challengeType, solution);
256+
255257
// ToDO: Validate other things (challengeFiles, etc)
256258
const isValidChallengeCompletionErrorMsg = {
257259
type: 'error',

client/src/templates/Challenges/redux/completion-epic.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ function postChallenge(update, username) {
6565
}
6666

6767
function submitModern(type, state) {
68+
console.debug('submitting modern');
69+
console.trace();
70+
6871
const challengeType = state.challenge.challengeMeta.challengeType;
6972
const tests = challengeTestsSelector(state);
7073
if (

0 commit comments

Comments
 (0)