Skip to content

Commit

Permalink
chore: extra error log (#601)
Browse files Browse the repository at this point in the history
  • Loading branch information
apotdevin authored Jan 2, 2024
1 parent f92a810 commit f68fabd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/server/modules/api/amboss/amboss.resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,11 @@ export class AmbossResolver {
);

if (!data?.claimGhostAddress || error) {
this.logger.error('Error claiming Ghost address', {
data,
error,
address,
});
throw new GraphQLError('Error claiming Ghost address.');
}

Expand Down

0 comments on commit f68fabd

Please sign in to comment.