Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log exceptions when creating share #26115

Merged
merged 1 commit into from
Mar 15, 2021
Merged

Conversation

PVince81
Copy link
Member

Because the exceptions don't always contain a useful message for the UI,
but also because in some cases we need to find out what went wrong and look at a stack trace.

In some setups, a ShareNotFound exception might happen during creation
when we try to re-read the just written share. Usually related to Galera
Cluster where node syncing wait is not enabled.

Without this, nothing is log and it's almost impossible to debug.

Because the exceptions don't always contain a useful message for the UI,
but also because in some cases we need to find out what went wrong.

In some setups, a ShareNotFoundException might happen during creation
when we try to re-read the just written share. Usually related to Galera
Cluster where node syncing wait is not enabled.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
@kesselb kesselb merged commit 2a55a89 into master Mar 15, 2021
@kesselb kesselb deleted the enh/noid/log-share-exceptions branch March 15, 2021 13:15
@PVince81
Copy link
Member Author

/backport to stable21

@PVince81
Copy link
Member Author

/backport to stable20

@PVince81
Copy link
Member Author

/backport to stable19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants