Fix(Sentry TypeError): Cannot read properties of undefined (reading 'map')

This commit is contained in:
Ramesh Mane
2025-08-15 07:42:20 +00:00
parent c88728d0d3
commit e658ab6e88
4 changed files with 11 additions and 8 deletions

View File

@@ -334,8 +334,8 @@ const testConnectionError = ref()
const testConnection = async (retry = 0, initialConfig = null, initialError = null) => {
try {
await validate()
} catch (e) {
if (e.errorFields?.length) {
} catch (e: any) {
if (e?.errorFields?.length) {
focusInvalidInput()
return
}