File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export class UserService {
3737 try {
3838 user = await this . updateUser ( lowerUsername , githubToken ) ;
3939 } catch {
40- throw new HttpException ( `can't update this user.` , HttpStatus . SERVICE_UNAVAILABLE ) ;
40+ throw new HttpException ( `can't update user ${ lowerUsername } .` , HttpStatus . SERVICE_UNAVAILABLE ) ;
4141 }
4242 }
4343 const { totalRank, tierRank } =
@@ -270,7 +270,7 @@ export class UserService {
270270 primaryLanguages : Array . from ( languagesScore . keys ( ) ) . slice ( 0 , 3 ) ,
271271 } ;
272272 } catch {
273- throw new HttpException ( `can't update this user.` , HttpStatus . SERVICE_UNAVAILABLE ) ;
273+ throw new HttpException ( `can't update user ${ lowerUsername } .` , HttpStatus . SERVICE_UNAVAILABLE ) ;
274274 }
275275 }
276276
You can’t perform that action at this time.
0 commit comments