diff --git a/services/app-api/src/authn/thirdPartyAuthn.ts b/services/app-api/src/authn/thirdPartyAuthn.ts index 5025a71618..d46b1e467d 100644 --- a/services/app-api/src/authn/thirdPartyAuthn.ts +++ b/services/app-api/src/authn/thirdPartyAuthn.ts @@ -27,7 +27,9 @@ export async function userFromThirdPartyAuthorizer( try { const ipAddressIsValid = allowedIpAddresses.includes(ipAddress) if (!ipAddressIsValid) { - const errMsg = new Error('IP address is not in the allowed list') + const errMsg = new Error( + `IP address: ${ipAddress} is not in the allowed list` + ) return err(errMsg) } // Lookup user from postgres