-
Notifications
You must be signed in to change notification settings - Fork 808
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
Show more informative error message when VFS hydration fails. Displaya popup and put an error into activity list. More detailed logs. #6140
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy
found issue(s) with the introduced code (1/1)
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #6140 +/- ##
==========================================
+ Coverage 60.55% 60.74% +0.19%
==========================================
Files 145 145
Lines 18814 18829 +15
==========================================
+ Hits 11393 11438 +45
+ Misses 7421 7391 -30
|
a6f6896
to
0a12b77
Compare
0a12b77
to
2237cac
Compare
@jancborchardt @nimishavijay |
If I see this error are there any steps I can take to fix it? (change some settings, check network connection, etc). We can simplify the error message to something like
|
@nimishavijay No, the whole reason for this popup is for user to make a screenshot and let developers know about the exact issue. The problem is, when user has an issue with VFS like the one on the screenshot, it is a server side problem but it is being treated by a desktop client but from user’s perspective. Then user creates a bug report and quite often forgets to attach logs. Then in 24 hours logs are rotated and we can no longer tell what happened, which error came from server. Then it is impossible to investigate in case of random errors on the server. And we are receiving such a ticket but with just a screenshot and no logs or something. With this pop up we will see on a screenshot if this was a server issue (only then popup will show up) and then ask server engineers to investigate. Otherwise we already have a system popup from Windows VFS but it does not provide any details to what happened and if it was a server issue or not. |
Ah okay understood, in that case we could show it under a "More details" section. Showing a technical error up front would be confusing to non-technical users, who are the majority. We could do something like this:
On clicking "More details" the detailed info with the error code will be shown In the tray menu also could we show a [More info] button which then exposes the error codes? So something like |
e6c8108
to
1a0ec01
Compare
In the tray menu also could we show a [More info] button which then exposes the error codes? So something like I've now changed the custom dialog to show the "> More details" button, kindly check if it is enough. As for activity item with button, I've removed this from activity list completely, as adding a button requires quite some changes in activity list system and it is not required for this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Looks good :)
1a0ec01
to
a6dfac1
Compare
… a popup and put an error into activity list. More detailed logs. Signed-off-by: alex-z <[email protected]>
772d8ae
to
727cd79
Compare
AppImage file: nextcloud-PR-6140-727cd797ffed0309669cd4f3a7e5fd17bcab3be7-x86_64.AppImage |
SonarCloud Quality Gate failed. 0 Bugs 3.8% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
/backport to stable-3.10 |
For #6132