mirror of
https://github.com/restic/rest-server.git
synced 2025-10-19 15:43:21 +00:00
add changelog for not found error handling
This commit is contained in:
parent
cb2afaa4c0
commit
b562edefd1
1 changed files with 13 additions and 0 deletions
13
changelog/unreleased/pull-194
Normal file
13
changelog/unreleased/pull-194
Normal file
|
@ -0,0 +1,13 @@
|
|||
Bugfix: Return "internal server error" if files cannot be read
|
||||
|
||||
When files in a repository cannot be read by rest-server, for example after
|
||||
running `restic prune` directly on the server hosting the repositories, then
|
||||
rest-server returned "Not Found" as status code. This is extremely confusing
|
||||
for users.
|
||||
|
||||
The error handling has been fixed to only return "Not Found" if the file
|
||||
actually does not exist. Otherwise an internal server error is reported to the
|
||||
user and the underlying error is logged at the server side.
|
||||
|
||||
https://github.com/restic/restic/issues/1871
|
||||
https://github.com/restic/rest-server/pull/194
|
Loading…
Add table
Add a link
Reference in a new issue