Skip to content

Commit

Permalink
added error message to force delete and stop
Browse files Browse the repository at this point in the history
  • Loading branch information
hahahannes committed Nov 20, 2023
1 parent a469614 commit cc85312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/deployments/pages/list/deployment-list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class DeploymentListComponent implements OnInit, OnDestroy {
this.sendStop(ids, false).pipe(
catchError((err, _1) => {
// stopping did not succeed because deployment is required
return this.utilsService.askForConfirmation("Do you want to force stop?")
return this.utilsService.askForConfirmation("Do you want to force stop? " + err)
}),
concatMap((forceConfirmed: any) => {
if(!forceConfirmed) {
Expand Down Expand Up @@ -254,7 +254,7 @@ export class DeploymentListComponent implements OnInit, OnDestroy {
this.sendDelete(ids, false).pipe(
catchError((err, _1) => {
// stopping did not succeed because deployment is required
return this.utilsService.askForConfirmation("Do you want to force delete?")
return this.utilsService.askForConfirmation("Do you want to force delete? " + err)
}),
concatMap((forceConfirmed: any) => {
if(!forceConfirmed) {
Expand Down

0 comments on commit cc85312

Please sign in to comment.