Enhance security and error handling in various components by refining error catch blocks to ignore specific errors, improving code clarity and consistency across the application.
This commit is contained in:
@@ -29,7 +29,7 @@ async function loadConfig() {
|
||||
try {
|
||||
const data = await $fetch('/api/config')
|
||||
rawContent.value = data?.seiten?.ttRegeln || ''
|
||||
} catch (_e) {
|
||||
} catch {
|
||||
rawContent.value = ''
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user