Log errors in generic error handler (#3482)

This commit is contained in:
filtered
2025-04-17 15:16:05 +10:00
committed by Chenlei Hu
parent 0d921e72b9
commit 7e4df6006a

View File

@@ -5,6 +5,7 @@ export function useErrorHandling() {
const toast = useToastStore()
const toastErrorHandler = (error: any) => {
console.error(error)
toast.add({
severity: 'error',
summary: t('g.error'),