Skip to content

Commit f95b9c0

Browse files
committed
Indicating when the body wasn't stored for the audited message
1 parent f521388 commit f95b9c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Frontend/src/components/messages/BodyView.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const body = computed(() => bodyState.value.data.value);
2424
<div class="gap">
2525
<div v-if="bodyState.not_found" class="alert alert-info">Could not find the message body. This could be because the message URL is invalid or the corresponding message was processed and is no longer tracked by ServiceControl.</div>
2626
<div v-else-if="bodyState.failed_to_load" class="alert alert-info">Message body unavailable.</div>
27+
<div v-else-if="body === ''" class="alert alert-info">Body was too large and not stored. Edit ServiceControl/MaxBodySizeToStore to be larger in the ServiceControl configuration.</div>
2728
<LoadingSpinner v-else-if="bodyState.loading" />
2829
<CodeEditor v-else-if="body !== undefined && contentType.isSupported" :model-value="body" :language="contentType.language" :read-only="true" :show-gutter="true"></CodeEditor>
2930
<div v-else-if="body && !contentType.isSupported" class="alert alert-warning">Message body cannot be displayed because content type "{{ bodyState.data.content_type }}" is not supported.</div>

0 commit comments

Comments
 (0)