Skip to content

Commit

Permalink
Removed logging and always throw error to be handled properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisAMenace committed Apr 17, 2019
1 parent 04a7bf9 commit 29867c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions FullNode.UI/src/app/shared/services/api.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,8 @@ export class ApiService {
if (error.error.errors[0].message) {
this.modalService.openModal(null, error.error.errors[0].message);
}
console.log(error);
return throwError(error);
}
console.log(error);
return throwError(error);
}
}
2 changes: 0 additions & 2 deletions FullNode.UI/src/app/wallet/dashboard/dashboard.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,8 @@ export class DashboardComponent implements OnInit, OnDestroy {
} else {
this.hasBalance = false;
}
console.log("Balcheck 1:" + this.sidechainEnabled);
},
error => {
console.log("Balcheck 2:" + this.hasBalance);
this.cancelSubscriptions();
this.startSubscriptions();
}
Expand Down

0 comments on commit 29867c3

Please sign in to comment.