Skip to content

Commit

Permalink
fix(#802): show original error
Browse files Browse the repository at this point in the history
  • Loading branch information
wing328 committed Sep 22, 2024
1 parent 1c96bcf commit 88e5d38
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,9 @@ export class VersionManagerService {
this.logger.log(data.toString('utf8'))
);
}
} catch(e){
this.logger.log('Errors: ', e as Error);
} catch(e) {
// simply show the original error if the above code block fails
this.logger.log('Errors: ', error);
}
}

Expand Down

0 comments on commit 88e5d38

Please sign in to comment.