Skip to content

Commit

Permalink
expose request id, when delete fails (#11951)
Browse files Browse the repository at this point in the history
* expose request id, when delete fails

* Add changelog item
  • Loading branch information
AlexAndBear authored Nov 22, 2024
1 parent 9b027ef commit c42d93f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Export request ID when delete fails

We've fixed a bug where the request ID was not exposed to the error message when a delete operation failed.

https://github.com/owncloud/web/pull/11951
https://github.com/owncloud/web/issues/11925
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export const useFileActionsDeleteResources = () => {
})
}

messageStore.showErrorMessage({ title, errors: [new Error()] })
messageStore.showErrorMessage({ title, errors: [error] })
})

// user hasn't navigated to another location meanwhile
Expand Down

0 comments on commit c42d93f

Please sign in to comment.