File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
plugins/plugin-codeflare/src/tray/watchers/profile Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
+ import Debug from "debug"
17
18
import { spawn } from "child_process"
18
19
import { encodeComponent } from "@kui-shell/core"
19
20
@@ -60,13 +61,13 @@ export default class ProfileStatusWatcher {
60
61
try {
61
62
process . kill ( - job . pid ) // kill the process group e.g. for pipes
62
63
} catch ( err ) {
63
- console . error ( "error killing process group " + - job . pid , err )
64
+ Debug ( "codeflare" ) ( "error killing process group " + - job . pid , err )
64
65
}
65
66
66
67
try {
67
68
job . kill ( )
68
69
} catch ( err ) {
69
- console . error ( "error killing process " + job . pid , err )
70
+ Debug ( "codeflare" ) ( "error killing process " + job . pid , err )
70
71
}
71
72
} )
72
73
You can’t perform that action at this time.
0 commit comments