Skip to content

Commit

Permalink
improved error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
rinde committed Nov 21, 2016
1 parent c561847 commit 37457d4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,8 @@ void update(long time) {
if (time - auctionStartTime > maxAuctionDurationMs) {
throw new IllegalStateException(
"Auction duration for " + parcel + " exceeded threshold of "
+ maxAuctionDurationMs + " ms. Current time: " + time + ".");
+ maxAuctionDurationMs + " ms. Auction start time: "
+ auctionStartTime + ", current time: " + time + ".");
}

if (stopCondition.apply(Collections.unmodifiableSet(bids),
Expand Down

0 comments on commit 37457d4

Please sign in to comment.