Skip to content

Commit

Permalink
fix(nlu-engine): lang server error is passed from child process to main
Browse files Browse the repository at this point in the history
  • Loading branch information
franklevasseur committed Nov 22, 2021
1 parent c3c485c commit 985e585
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -5,7 +5,9 @@ import { ErrorHandler } from './error-handler'

export const ENTRY_POINT = __filename

const processEntryPoint = makeProcessEntryPoint<TrainInput, TrainOutput>()
const processEntryPoint = makeProcessEntryPoint<TrainInput, TrainOutput>({
errorHandler: new ErrorHandler()
})

const main = async () => {
const config = JSON.parse(process.env.NLU_CONFIG!)
Expand Down

0 comments on commit 985e585

Please sign in to comment.