aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/api')
-rw-r--r--server/sonar-web/src/main/js/api/quality-profiles.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/api/quality-profiles.ts b/server/sonar-web/src/main/js/api/quality-profiles.ts
index 9daa0c5051a..5e2715d7b81 100644
--- a/server/sonar-web/src/main/js/api/quality-profiles.ts
+++ b/server/sonar-web/src/main/js/api/quality-profiles.ts
@@ -97,7 +97,7 @@ export interface SearchQualityProfilesResponse {
export function searchQualityProfiles(
parameters: SearchQualityProfilesParameters
): Promise<SearchQualityProfilesResponse> {
- return getJSON('/api/qualityprofiles/search', parameters);
+ return getJSON('/api/qualityprofiles/search', parameters).catch(throwGlobalError);
}
export function getQualityProfile(data: {