Skip to content

Commit

Permalink
Merge pull request #1654 from DuendeSoftware/joe/device-flow-log-fix
Browse files Browse the repository at this point in the history
Fix error log when device authorization endpoint fails
  • Loading branch information
josephdecock authored Dec 4, 2024
2 parents fa3d0ae + ead0993 commit 908d3dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private TokenErrorResult Error(string error, string errorDescription = null, Dic
Custom = custom
};

_logger.LogError("Device authorization error: {error}:{errorDescriptions}", error, error ?? "-no message-");
_logger.LogError("Device authorization error: {error}:{errorDescriptions}", error, errorDescription ?? "-no message-");

return new TokenErrorResult(response);
}
Expand Down

0 comments on commit 908d3dd

Please sign in to comment.