diff --git a/src/app/api/guess/dataProvider.ts b/src/app/api/guess/dataProvider.ts index d9aa06f..4367724 100644 --- a/src/app/api/guess/dataProvider.ts +++ b/src/app/api/guess/dataProvider.ts @@ -36,7 +36,7 @@ export async function findNorwegianPerson(input: string): Promise { } else if (articleJson.subject_title) { return articleJson.subject_title; } - } catch (e) { + } catch { // fallback to undefined } return undefined;