Skip to content

Commit

Permalink
refactor: Added debug error logs in overseerr-getter.service
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenn92 committed Feb 8, 2024
1 parent 85bcc77 commit 7a83b43
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions server/src/modules/rules/getter/overseerr-getter.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,8 @@ export class OverseerrGetterService {
}
return [];
} catch (e) {
this.logger.warn("Couldn't get addUser from Overseerr", {
label: 'Overseerr API',
errorMessage: e.message,
});
this.logger.warn("Couldn't get addUser from Overseerr");
this.logger.debug(e);
}
}
case 'amountRequested': {
Expand Down Expand Up @@ -256,6 +254,7 @@ export class OverseerrGetterService {
}
} catch (e) {
warn(`Overseerr-Getter - Action failed : ${e.message}`);
this.logger.debug(e);
return undefined;
}
}
Expand Down

0 comments on commit 7a83b43

Please sign in to comment.