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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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