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 1414 * limitations under the License.
1515 */
1616
17+ import Debug from "debug"
1718import { spawn } from "child_process"
1819import { encodeComponent } from "@kui-shell/core"
1920
@@ -60,13 +61,13 @@ export default class ProfileStatusWatcher {
6061 try {
6162 process . kill ( - job . pid ) // kill the process group e.g. for pipes
6263 } catch ( err ) {
63- console . error ( "error killing process group " + - job . pid , err )
64+ Debug ( "codeflare" ) ( "error killing process group " + - job . pid , err )
6465 }
6566
6667 try {
6768 job . kill ( )
6869 } catch ( err ) {
69- console . error ( "error killing process " + job . pid , err )
70+ Debug ( "codeflare" ) ( "error killing process " + job . pid , err )
7071 }
7172 } )
7273
You can’t perform that action at this time.
0 commit comments