Skip to content

Commit

Permalink
Merge pull request #16 from catenasys/fix-exception
Browse files Browse the repository at this point in the history
Fix exception message
  • Loading branch information
scealiontach authored Feb 20, 2020
2 parents 02a6594 + 0677181 commit 200b0ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/blockchaintp/daml/DamlLedger.java
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ public byte[] getObject(final String key) {
}
}
throw new NonRecoverableErrorException(
String.format("%s: Bucket %s not found after %d attempts - was it deleted?",
NoSuchBucketException.class.getName(), attempts));
String.format("%s: Bucket %s not found after %d attempts - was it deleted?",key,
getBucketName(), attempts));
}

@Override
Expand Down

0 comments on commit 200b0ac

Please sign in to comment.