Skip to content

Commit

Permalink
fix Iad null bug (#1544)
Browse files Browse the repository at this point in the history
  • Loading branch information
alonkeyval authored Sep 25, 2024
1 parent e3f2416 commit 887d102
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ const LOGO_STYLE: React.CSSProperties = {
function getFirstNonIgnoredContainerName(
managedSource: ManagedSource
): string | null {
if (!managedSource.instrumented_application_details.languages) {
if (!managedSource?.instrumented_application_details?.languages) {
return null;
}

const nonIgnoredLanguage =
managedSource.instrumented_application_details.languages.find(
managedSource?.instrumented_application_details?.languages.find(
(language) => language.language !== 'ignore'
);

Expand Down

0 comments on commit 887d102

Please sign in to comment.