diff --git a/packages/dids/src/methods/did-dht.ts b/packages/dids/src/methods/did-dht.ts index 00dbfafad..b5acb8b25 100644 --- a/packages/dids/src/methods/did-dht.ts +++ b/packages/dids/src/methods/did-dht.ts @@ -948,7 +948,7 @@ export class DidDhtDocument { }); } catch (error: any) { - throw new DidError(DidErrorCode.InternalError, `Failed to put Pkarr record: ${error.message}`); + throw new DidError(DidErrorCode.InternalError, `Failed to put Pkarr record for identifier ${identifier}: ${error.message}`); } // Return `true` if the DHT request was successful, otherwise return `false`.