Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Commit d0e1206

Browse files
committed
improve messaging if process is killed on timeout
1 parent c3f5b1d commit d0e1206

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SQLToolsAPI/Command.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ def stop(self):
100100
os.kill(self.process.pid, sig)
101101
self.process = None
102102

103-
Log.debug("Your command is taking too long to run. Process killed")
103+
Log("Your command is taking too long to run. Process killed")
104+
self.callback("Command execution time exceeded 'thread_timeout'.\nProcess killed!\n\n")
104105
except Exception:
105106
pass
106107

0 commit comments

Comments
 (0)