[go: up one dir, main page]

Add catch to projectGroups endpoint

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

The following discussion from !53781 (merged) should be addressed:

  • @nicolasdular started a discussion: (+1 comment)

    Question: Anything in an error case that we can or need to handle?

Possible solution

.catch(() => {
        flash(__('Something went wrong while fetching projects'));
        if (callback) {
          callback();
        }
      });

OR

catch(callback);
Edited by 🤖 GitLab Bot 🤖