mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4881] [CLOSED] Return 404 if a named config is not found. #10317
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/4881
Author: @BaronGreenback
Created: 12/29/2020
Status: ❌ Closed
Base:
master← Head:NoConfigError📝 Commits (1)
dd41e3dReturn not found if named config not found📊 Changes
1 file changed (+15 additions, -1 deletions)
View changed files
📝
Jellyfin.Api/Controllers/ConfigurationController.cs(+15 -1)📄 Description
Currently an exception is created if a named config is not found.
If the web client wants include functionality only available in plugins (eg cinemamode), do we want errors logged when the config is missing, or should we return 404. (see #4867 - don't think this issue is the sole cause)
This PR returns 404 not found instead of logging the exception.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.