Aktualisiere die Version auf 1.4.3, füge Validierung für Saison-Slugs hinzu und implementiere ein Logging-System für Fehler und Informationen
Some checks failed
Code Analysis and Production Deploy / analyze (push) Has been skipped
Code Analysis and Production Deploy / deploy-production (push) Has been skipped
Code Analysis and Production Deploy / deploy-test (push) Successful in 1m49s
Code Analysis and Production Deploy / analyze (pull_request) Failing after 2m37s
Code Analysis and Production Deploy / deploy-production (pull_request) Has been skipped
Code Analysis and Production Deploy / deploy-test (pull_request) Has been skipped
Require Package Version Change / check (pull_request) Failing after 8s

This commit is contained in:
Torsten Schulz (local)
2026-05-20 11:20:54 +02:00
parent 2503eb92af
commit e5c247f703
7 changed files with 73 additions and 20 deletions

View File

@@ -1,4 +1,5 @@
import { getCurrentSeasonSlug, listSpielplanSeasons } from '../../utils/spielplan-data.js'
import { error as loggerError } from '../../utils/logger.js'
export default defineEventHandler(async () => {
try {
@@ -13,7 +14,7 @@ export default defineEventHandler(async () => {
defaultSeason
}
} catch (error) {
console.error('Fehler beim Laden der Spielplan-Saisons:', error)
loggerError('Fehler beim Laden der Spielplan-Saisons:', { error })
return {
success: false,
seasons: [],