(message: string)
| 64 | } |
| 65 | |
| 66 | const createError = (message: string) => |
| 67 | new SdkAuthError(message, { |
| 68 | clientId, |
| 69 | clientSecret: |
| 70 | typeof clientSecret === 'string' |
| 71 | ? `${clientSecret.slice(0, 5)}...${clientSecret.slice(-5)}` |
| 72 | : 'none', |
| 73 | origin, |
| 74 | }); |
| 75 | |
| 76 | if (!clientId) { |
| 77 | throw createError('Ingestion: Missing client id'); |
no outgoing calls
no test coverage detected