You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
thank you for pointing out that the command list is generated when the Issue is submitted, not when the dialog is displayed
So when an error notification is displayed, the Commands section generated includes things you do after the dialog is displayed which can be misleading as Lee mentions further in that comment:
That's a bug we should fix ... it could be sending us down some blind alleys 😀
If you perform enough actions, the actual actions related to generating the error aren't shown since it seems like 16 commands are shown and the rest is truncated?
Steps to Reproduce
Add this to your init.coffee so you can generate an error h/t @lee-dohm:
atom.commands.add 'atom-workspace',
'custom:throw-error': ->
throw new Error
Start Atom (not in safe mode so we can use the command above)
From the command palette, run Custom: Throw Error (error notification shows at this point)
Run some other commands e.g. use the command palette to Tree View: Toggle 6 times
Copy the error report to clipboard (click the clipboard icon in the exception dialog)
Paste the error report to examine the Commands section.
Expected behavior: [What you expect to happen]
To see commands up to when the error dialog is displayed.
Actual behavior: [What actually happens]
Commands run after the dialog is displayed are shown in the Commands section:
rsese
changed the title
Command list generated when issue submitted, not when exception displayed
Command list not generated up to when exception is displayed
Apr 4, 2018
rsese
changed the title
Command list not generated up to when exception is displayed
Command list generated with commands run after exception is displayed
Apr 4, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Prerequisites
Not run in safe mode so we could use the command added to the init script to generate an error
Description
h/t @Ben3eeE for finding this comment - as mentioned by Lee in atom/atom#11690 (comment):
So when an error notification is displayed, the
Commands
section generated includes things you do after the dialog is displayed which can be misleading as Lee mentions further in that comment:If you perform enough actions, the actual actions related to generating the error aren't shown since it seems like 16 commands are shown and the rest is truncated?
Steps to Reproduce
Add this to your
init.coffee
so you can generate an error h/t @lee-dohm:Custom: Throw Error
(error notification shows at this point)Tree View: Toggle
6 timesCommands
section.Expected behavior: [What you expect to happen]
To see commands up to when the error dialog is displayed.
Actual behavior: [What actually happens]
Commands run after the dialog is displayed are shown in the
Commands
section:For comparison, if I copy the error report right after step 2, then the generated
Commands
section looks like this:Reproduces how often:
100%
Versions
macOS 10.12.6
/cc @Ben3eeE ✌️
The text was updated successfully, but these errors were encountered: