Skip to content

fix(config): reclassify file and JSON parse errors as Internal#17

Merged
KARTIKrocks merged 1 commit into
mainfrom
fix/config-internal-errors
Mar 31, 2026
Merged

fix(config): reclassify file and JSON parse errors as Internal#17
KARTIKrocks merged 1 commit into
mainfrom
fix/config-internal-errors

Conversation

@KARTIKrocks
Copy link
Copy Markdown
Owner

Summary

Motivation

Fixes #

  • config — File I/O errors (missing or unreadable .env/JSON files) and JSON parse errors are now classified as errors.Internal instead of errors.BadRequest; error message updated from "file not found" to "cannot open file" to better reflect the server-side cause

Checklist

  • fmt, vet, lint, test, build passes (make all)
  • New code has tests where appropriate
  • Breaking changes are documented

@KARTIKrocks KARTIKrocks self-assigned this Mar 31, 2026
@KARTIKrocks KARTIKrocks merged commit 5ffc5c3 into main Mar 31, 2026
10 checks passed
@KARTIKrocks KARTIKrocks deleted the fix/config-internal-errors branch March 31, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant