Skip to content

Commit

Permalink
add more specified error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshit28j committed Apr 6, 2024
1 parent bcbdf16 commit 7f1eaa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/js/controllers/challengeCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -2816,7 +2816,7 @@
}
else if (error.description) {
var errorMessage = error.description[0];
$rootScope.notify("error",'Description: ',errorMessage);
$rootScope.notify("error",'Description: '+errorMessage);
}
// Default error handling
else {
Expand Down

0 comments on commit 7f1eaa9

Please sign in to comment.