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

Commit 23ca217

Browse files
authored
Resolved lUIS error from not showing up on URL based bots (#2074)
Signed-off-by: Srinaath Ravichandran <[email protected]>
1 parent d3d9bf5 commit 23ca217

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • packages/extensions/luis/client/src

packages/extensions/luis/client/src/App.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,10 @@ export class App extends Component<any, AppState> {
270270
$host.logger.logLuisEditorDeepLink(message);
271271
}
272272
} catch (err) {
273+
// Throw an auth error only if conversation is from a bot file instead of URL.
274+
if (!$host.bot && err.statusCode === 401) {
275+
return;
276+
}
273277
$host.logger.error(err.message);
274278
}
275279
}

0 commit comments

Comments
 (0)