Merge "Drop CodeOwnersInternalServerErrorException"
diff --git a/java/com/google/gerrit/plugins/codeowners/backend/TransientCodeOwnerCache.java b/java/com/google/gerrit/plugins/codeowners/backend/TransientCodeOwnerCache.java
index 0229860..a869df8 100644
--- a/java/com/google/gerrit/plugins/codeowners/backend/TransientCodeOwnerCache.java
+++ b/java/com/google/gerrit/plugins/codeowners/backend/TransientCodeOwnerCache.java
@@ -78,7 +78,7 @@
cache.put(email, codeOwner);
} else if (maxCacheSize.isPresent()) {
logger.atWarning().atMostEvery(1, TimeUnit.DAYS).log(
- "exceeded limit of %s", getClass().getSimpleName());
+ "exceeded limit of %s (limit = %s)", getClass().getSimpleName(), maxCacheSize.get());
}
}
diff --git a/java/com/google/gerrit/plugins/codeowners/backend/TransientCodeOwnerConfigCache.java b/java/com/google/gerrit/plugins/codeowners/backend/TransientCodeOwnerConfigCache.java
index 5702773..14f0b98 100644
--- a/java/com/google/gerrit/plugins/codeowners/backend/TransientCodeOwnerConfigCache.java
+++ b/java/com/google/gerrit/plugins/codeowners/backend/TransientCodeOwnerConfigCache.java
@@ -105,8 +105,8 @@
cache.put(cacheKey, codeOwnerConfig);
} else if (maxCacheSize.isPresent()) {
logger.atWarning().atMostEvery(1, TimeUnit.DAYS).log(
- "exceeded limit of %s (project = %s)",
- getClass().getSimpleName(), cacheKey.codeOwnerConfigKey().project());
+ "exceeded limit of %s (project = %s, limit = %s)",
+ getClass().getSimpleName(), cacheKey.codeOwnerConfigKey().project(), maxCacheSize.get());
}
return codeOwnerConfig;
}
diff --git a/web/gr-check-code-owner.ts b/web/gr-check-code-owner.ts
index 9215ba9..7225d3f 100644
--- a/web/gr-check-code-owner.ts
+++ b/web/gr-check-code-owner.ts
@@ -50,7 +50,7 @@
userInput!: HTMLInputElement;
@query('#resultOutput')
- resultOutput!: HTMLInputElement;
+ resultOutput!: HTMLTextAreaElement;
@query('#noteAboutLimitedDebugInformation')
noteAboutLimitedDebugInformation!: HTMLInputElement;
@@ -210,12 +210,13 @@
</p>
<section>
<span class="value">
- <iron-autogrow-textarea
+ <textarea
class="output"
id="resultOutput"
+ rows="20"
readonly
>
- </iron-autogrow-textarea>
+ </textarea>
</span>
</section>
<p