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

No feedback on Job Log action for dead job #204

Open
davecharron opened this issue Feb 29, 2024 · 1 comment
Open

No feedback on Job Log action for dead job #204

davecharron opened this issue Feb 29, 2024 · 1 comment

Comments

@davecharron
Copy link
Collaborator

If your job connection gets snipped, and you then click the View Job Log action, there is no feedback to the user, so it looks like the action itself is broken.
There is output in the debug console:

rejected promise not handled within 1 second: Error: Not connected, , 0
extensionHostProcess.js:144
stack trace: Error: Not connected, , 0
	at _Query.<anonymous> (c:\Code\vscode-db2i\dist\extension.js:584:15)
	at Generator.next (<anonymous>)
	at fulfilled (c:\Code\vscode-db2i\dist\extension.js:490:24)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

If instead you try to run a statement, there is at least some feedback, though not polished, posted to the IBM I view:
Not connected, , 0
Need to provide better feedback when a dead job is detected.

@worksofliam
Copy link
Contributor

Perhaps getStatus needs to check the connection too?

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

No branches or pull requests

2 participants