Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SRIResolverFailiure -> SRINodeNormFailure #171

Merged
merged 2 commits into from
Nov 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import QEdge2APIEdgeHandler from './qedge2apiedge';
import LogEntry, { StampedLog } from './log_entry';
import { promises as fs } from 'fs';
import { getDescendants } from '@biothings-explorer/node-expansion';
import { resolveSRI, SRIResolverFailiure } from 'biomedical_id_resolver';
import { resolveSRI, SRINodeNormFailure } from 'biomedical_id_resolver';
import InferredQueryHandler from './inferred_mode/inferred_mode';
import KGNode from './graph/kg_node';
import KGEdge from './graph/kg_edge';
Expand Down Expand Up @@ -418,7 +418,7 @@ export default class TRAPIQueryHandler {
this.logs = [...this.logs, ...queryGraphHandler.logs];
return queryEdges;
} catch (err) {
if (err instanceof InvalidQueryGraphError || err instanceof SRIResolverFailiure) {
if (err instanceof InvalidQueryGraphError || err instanceof SRINodeNormFailure) {
throw err;
} else {
console.log(err.stack);
Expand Down
Loading