Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit c262712

Browse files
Shuai Wangmunozemilio
andauthored
fix luis:build error missing (#1214)
Co-authored-by: Emilio Munoz <[email protected]>
1 parent 44f6fa3 commit c262712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/lu/src/parser/lubuild/builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ export class Builder {
285285
settingsAssets.push(settings)
286286
}
287287
} catch (error) {
288-
throw(new exception(retCode.errorCode.LUIS_BUILD_FAILED, `Luis build failed: ${error.message}`))
288+
throw(new exception(retCode.errorCode.LUIS_BUILD_FAILED, `Luis build failed: ${error.message ?? error.text}`))
289289
}
290290

291291
const settingsContent = this.generateDeclarativeAssets(settingsAssets)

0 commit comments

Comments
 (0)