Skip to content

Commit

Permalink
Resolved lUIS error from not showing up on URL based bots (#2074)
Browse files Browse the repository at this point in the history
Signed-off-by: Srinaath Ravichandran <[email protected]>
  • Loading branch information
srinaath authored Jan 31, 2020
1 parent d3d9bf5 commit 23ca217
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/extensions/luis/client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,10 @@ export class App extends Component<any, AppState> {
$host.logger.logLuisEditorDeepLink(message);
}
} catch (err) {
// Throw an auth error only if conversation is from a bot file instead of URL.
if (!$host.bot && err.statusCode === 401) {
return;
}
$host.logger.error(err.message);
}
}
Expand Down

0 comments on commit 23ca217

Please sign in to comment.