File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -60,4 +60,4 @@ WHERE rr.name = 'Submitter'
6060 ) BETWEEN $2 ::timestamptz AND $3 ::timestamptz )
6161 )
6262 ))
63- LIMIT 100 ;
63+ LIMIT 500 ;
Original file line number Diff line number Diff line change @@ -23,13 +23,17 @@ export class ChallengesReportsService {
2323 this . logger . debug ( "Starting getSubmissionLinks" , filters ) ;
2424 const query = this . sql . load ( "reports/challenges/submission-links.sql" ) ;
2525
26- const results = await this . db . query < any > ( query , [
27- filters . challengeStatus ,
28- filters . completionDateFrom ,
29- filters . completionDateTo ,
30- ] ) ;
26+ try {
27+ const results = await this . db . query < any > ( query , [
28+ filters . challengeStatus ,
29+ filters . completionDateFrom ,
30+ filters . completionDateTo ,
31+ ] ) ;
3132
32- return results ;
33+ return results ;
34+ } catch ( e ) {
35+ this . logger . error ( e ) ;
36+ }
3337 }
3438
3539 async getChallengesReport ( filters : ChallengeRegistrantsQueryDto ) {
You can’t perform that action at this time.
0 commit comments