los mensajes de errores se envian como message
Some checks failed
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Successful in 12s
build-and-deploy / deploy (push) Successful in 15s

This commit is contained in:
2025-05-30 11:45:23 -06:00
parent 6c7e008164
commit 1eccd8d424
5 changed files with 48 additions and 48 deletions

View File

@@ -52,7 +52,7 @@ export const useAsistenciasStore = defineStore('asistencias', {
await this.fetchAsistencias(); // Refresh the list
return data;
} catch (error) {
console.error('Error creating asistencia:', error);
console.error('Error creating asistencia:', error.message);
throw error; // Re-throw to allow form to handle it
}
},