Review fixes

This commit is contained in:
x032205
2025-09-05 13:03:19 -04:00
parent ab2146367c
commit 17b6ab0db0
2 changed files with 20 additions and 3 deletions
+3 -1
View File
@@ -25,6 +25,8 @@ export function getProviderUrl(
case LogProvider.Splunk:
return `https://${logStream.credentials.hostname}:8088/services/collector/event`;
default:
return "Not found";
throw new Error(
`Unhandled provider in getProviderUrl: ${(logStream as TAuditLogStream).provider}`
);
}
}