Skip to content

Commit 910cebf

Browse files
Remove try/catch from get submissions in challenge details
1 parent 4432f22 commit 910cebf

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/services/challenges.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -354,11 +354,8 @@ class ChallengesService {
354354
challengeId,
355355
perPage: 100,
356356
};
357-
try {
358-
submissions = await this.private.submissionsService.getSubmissions(subParams);
359-
} catch (err) {
360-
submissions = [];
361-
}
357+
358+
submissions = await this.private.submissionsService.getSubmissions(subParams);
362359

363360
if (submissions) {
364361
// Remove AV Scan, SonarQube Review and Virus Scan review types

0 commit comments

Comments
 (0)