Skip to content

Commit

Permalink
CU-3gn4yqt - Refine the exception throwing when resolve the hive url …
Browse files Browse the repository at this point in the history
…of the did.
  • Loading branch information
fred-yu-2013 authored and stiartsly committed Sep 5, 2022
1 parent ed17f4b commit 8846d6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/connection/auth/appcontext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ export class AppContext {
} else if (e instanceof DIDResolveException) {
AppContext.LOG.error("Resolving the target DID " + targetDid + " failed: " + e.message);
throw new NetworkException("Resolving DID failed: " + e.message, e);
} else {
throw e;
}
}
}
Expand Down

0 comments on commit 8846d6a

Please sign in to comment.