mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 08:16:05 -07:00
moar logs #1643
This commit is contained in:
parent
03445937db
commit
005739fe46
1 changed files with 10 additions and 0 deletions
10
src/Ombi/Controllers/External/PlexController.cs
vendored
10
src/Ombi/Controllers/External/PlexController.cs
vendored
|
@ -41,6 +41,10 @@ namespace Ombi.Controllers.External
|
|||
[AllowAnonymous]
|
||||
public async Task<PlexAuthentication> SignIn([FromBody] UserRequest request)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
|
||||
// Do we already have settings?
|
||||
_log.LogDebug("OK, signing into Plex");
|
||||
var settings = await PlexSettings.GetSettingsAsync();
|
||||
|
@ -82,6 +86,12 @@ namespace Ombi.Controllers.External
|
|||
|
||||
_log.LogDebug("Finished");
|
||||
return result;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_log.LogCritical(e, "Error when trying to sign into Plex.tv");
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue