Skip to content

Commit

Permalink
fix(app/ontology): stop ontology service from spamming errors (#1144)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricSommerhalder committed Jul 11, 2023
1 parent 41dd432 commit fecf296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dsp-app/src/app/project/ontology/ontology.service.ts
Expand Up @@ -149,7 +149,7 @@ export class OntologyService {
(i) => i?.id === baseOntoIri
);
superPropIri =
onto.properties[subProp].subPropertyOf[0];
onto?.properties[subProp].subPropertyOf[0];
},
() => {} // don't log error to rollbar if 'currentProjectOntologies' does not exist in the application state
);
Expand Down

0 comments on commit fecf296

Please sign in to comment.