Skip to content

Commit

Permalink
Add snackbar earlier for file restore
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreb committed Oct 23, 2024
1 parent a1f1be9 commit 611a6c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/app/account/create/restore/restore.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ export class RestoreComponent {
};

reader.onerror = () => {
this.app.openSnackBar(`Error reading file ${file.name}: ${reader.error}`, 3000);
console.error(`Error reading file ${file.name}:`, reader.error);
};

Expand Down

0 comments on commit 611a6c0

Please sign in to comment.