BackendSrv: Fixes a stupid mistake with a missing return (#22177)

This commit is contained in:
Hugo Häggmark
2020-02-13 16:08:41 +01:00
committed by GitHub
parent 70b0ec65b3
commit 335b1a8983

View File

@@ -559,7 +559,7 @@ export class BackendSrv implements BackendService {
})), })),
catchError(err => { catchError(err => {
if (!err.cancelled) { if (!err.cancelled) {
throwError(err); return throwError(err);
} }
if (resultType === CancellationType.dataSourceRequest) { if (resultType === CancellationType.dataSourceRequest) {