]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+admin/request-schedulers/request-schedulers-stats/request-schedulers-stats.component.ts
err.text -> err
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / request-schedulers / request-schedulers-stats / request-schedulers-stats.component.ts
index 4e3fabc645808232cc51febe668e2bc9dfabbe91..1edeb31febf135126fe5db9c4dcf779c89144c8b 100644 (file)
@@ -57,7 +57,7 @@ export class RequestSchedulersStatsComponent implements OnInit, OnDestroy {
     this.requestService.getStats().subscribe(
       stats => this.stats = stats,
 
-      err => this.notificationsService.error('Error', err.text)
+      err => this.notificationsService.error('Error', err)
     )
   }