throw again when GDT server is not reachable

This commit is contained in:
Moriz Wahl 2022-02-16 09:39:42 +01:00
parent efaef025ee
commit 2294997734

View File

@ -33,7 +33,9 @@ export class GdtResolver {
throw new Error(resultGDT.data)
}
return new GdtEntryList(resultGDT.data)
} catch (err: any) {}
} catch (err: any) {
throw new Error('GDT Server is not reachable.')
}
}
@Authorized([RIGHTS.EXIST_PID])