diff --git a/public/static/error/index.html b/public/static/error/index.html
index 82775be1..d0a328df 100644
--- a/public/static/error/index.html
+++ b/public/static/error/index.html
@@ -162,6 +162,14 @@ body {
bailoutInfo.push({ name: 'App Name', value: 'ISS' });
bailoutInfo.push({ name: 'Site Name', value: 'ISS 2.0' });
+ // Build Info
+ bailoutInfo.push({ name: 'Build Version', value: mainStore.issConfig?.buildInfo?.versionString });
+ bailoutInfo.push({ name: 'Build Time', value: mainStore.issConfig?.buildInfo?.buildTime });
+
+ // ISS Configuration Info
+ bailoutInfo.push({ name: 'Client Tag', value: mainStore.issConfig?.clientTag });
+ bailoutInfo.push({ name: 'Client Name', value: mainStore.issConfig?.clientName });
+
// Not included (yet) from heritage:
// - Site ID
// - Code
@@ -356,19 +364,16 @@ body {
diagnosticContainer.remove();
}
-// TODO: Re-enable logging after some further testing.
-/*
const apiHostname = environmentInfo?.apiHostname;
if(apiHostname) {
try {
const endpointUrl = `https://${apiHostname}/analytics/api/v1/logging/log-error`;
-
const infoString = bailoutInfo?.map(
(entry) => `${entry.name}: ${entry.value}`
)?.reduce(
(prev, next) => `${prev}\n${next}`
);
- const entryString = `User encountered bailout page.\n${new Date()}\n${infoString ?? 'No information recoverable'}`;
+ const entryString = `User landed on the static-error page.\n${new Date()}\n${infoString ?? 'No information recoverable'}`;
const headers = generateRequestHeader(headerInfo);
@@ -419,8 +424,7 @@ body {
console.error(`=== ERROR SENDING PAGEVIEW`);
console.error(e);
}
- }
- */
+ }
};