diff --git a/src/api/useTerminologyServiceApi.ts b/src/api/useTerminologyServiceApi.ts index 67865b7..d5ce05d 100644 --- a/src/api/useTerminologyServiceApi.ts +++ b/src/api/useTerminologyServiceApi.ts @@ -66,7 +66,7 @@ export class TerminologyServiceApi { .catch((error) => { // Log the error or handle it as needed console.error("UMLS Logout failed:", error); - return false; + throw error; }); return false; }