The AsertoAuthorizationManager class catches and logs exceptions but only logs the exception message, losing the root cause. This can make troubleshooting misconfigurations and other problems difficult, as the root cause of the exception may be lost.
Example:
The
AsertoAuthorizationManager
class catches and logs exceptions but only logs the exception message, losing the root cause. This can make troubleshooting misconfigurations and other problems difficult, as the root cause of the exception may be lost. Example:Suggested Solution:
Change the logging statement to log the full exception chain: