refactor(authapi): temporarily log the auth error and the client ip
Attempt to debug any issues caused by #470
This commit is contained in:
@@ -126,6 +126,7 @@ class JellyfinAPI extends ExternalAPI {
|
||||
Password?: string,
|
||||
ClientIP?: string
|
||||
): Promise<JellyfinLoginResponse> {
|
||||
logger.debug('Client IP: ', ClientIP);
|
||||
try {
|
||||
const headers = ClientIP
|
||||
? {
|
||||
@@ -146,6 +147,7 @@ class JellyfinAPI extends ExternalAPI {
|
||||
|
||||
return authResponse;
|
||||
} catch (e) {
|
||||
logger.debug(e);
|
||||
const status = e.response?.status;
|
||||
|
||||
const networkErrorCodes = new Set([
|
||||
|
||||
Reference in New Issue
Block a user