Skip to content

Commit

Permalink
log error
Browse files Browse the repository at this point in the history
  • Loading branch information
elmiomar committed Apr 3, 2024
1 parent 9b1299f commit 1b6f00a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions angular/src/app/datacart/cart.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export class CartService {
},
(err) => {
// Log the error or handle it if needed
console.error("Error:", err);
console.error("Error in getRpaCart:", err.message);
subscriber.error(err.message); // Propagate the error to the component
subscriber.complete();
Expand Down

0 comments on commit 1b6f00a

Please sign in to comment.