Skip to content

Commit

Permalink
feat(controller): change generic error message for real error message
Browse files Browse the repository at this point in the history
  • Loading branch information
NyaGarcia committed Nov 12, 2020
1 parent 5063f06 commit 91d5083
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -668,10 +668,10 @@ export class Controller {
this.printStats();
this.printFoldersSection();
})
.catch(() => {
.catch((e) => {
folder.status = 'error-deleting';
this.printFoldersSection();
this.printError(ERROR_MSG.CANT_DELETE_FOLDER);
this.printError(e.message);
});
}

Expand Down

0 comments on commit 91d5083

Please sign in to comment.