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:
@@ -221,7 +221,7 @@ const loadProfile = async () => {
|
||||
email: response.user.email,
|
||||
phone: response.user.phone || ''
|
||||
}
|
||||
} catch (error) {
|
||||
} catch {
|
||||
errorMessage.value = 'Fehler beim Laden des Profils.'
|
||||
} finally {
|
||||
isLoading.value = false
|
||||
|
||||
Reference in New Issue
Block a user