mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-24 18:59:17 +00:00
Conform more code to strictNullChecks (#10368
* Conform more code to `strictNullChecks` * Iterate
This commit is contained in:
committed by
GitHub
parent
05e3fb09d6
commit
8cb8cd4eb1
+1
-1
@@ -177,7 +177,7 @@ async function getContexts(): Promise<Contexts> {
|
||||
};
|
||||
}
|
||||
|
||||
export async function sendSentryReport(userText: string, issueUrl: string, error: Error): Promise<void> {
|
||||
export async function sendSentryReport(userText: string, issueUrl: string, error?: Error): Promise<void> {
|
||||
const sentryConfig = SdkConfig.getObject("sentry");
|
||||
if (!sentryConfig) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user