@csmart/ngc-smart-core 1.14.20 → 1.14.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,8 +17,8 @@ import { MatSnackBar } from '@angular/material/snack-bar';
17
17
  import { MatMenuModule } from '@angular/material/menu';
18
18
  import * as i1 from '@angular/common/http';
19
19
  import { HttpHeaders, HttpClientModule } from '@angular/common/http';
20
- import { Subject, of, from, lastValueFrom, throwError, EMPTY, concat } from 'rxjs';
21
- import { map, switchMap, take, catchError, mergeMap, retryWhen, delay } from 'rxjs/operators';
20
+ import { Subject, throwError, of, from, lastValueFrom, EMPTY, concat } from 'rxjs';
21
+ import { map, switchMap, catchError, take, mergeMap, retryWhen, delay } from 'rxjs/operators';
22
22
  import { connectToChild } from 'penpal';
23
23
  import * as i2 from '@azure/msal-angular';
24
24
  import * as i8$1 from '@angular/forms';
@@ -219,6 +219,9 @@ class XdmService {
219
219
  this.setSelectedOffender(selectedOffender);
220
220
  this.setOffenderQuery({ offenders: [selectedOffender] });
221
221
  return selectedOffender;
222
+ }), catchError(error => {
223
+ console.log(error);
224
+ return throwError(() => error);
222
225
  }));
223
226
  }
224
227
  }