NCIOCPL / drug-dictionary-api

NCI Drug Dictionary API
0 stars 3 forks source link

Exceptions not being logged correctly. #73

Closed blairlearn closed 2 years ago

blairlearn commented 2 years ago

Issue description

There are still locations in the code where exceptions are being logged using

_logger.LogError(String, Exception);

This invokes the LogError(this ILogger logger, string message, params object[] args) overload, which discards the exception unless the string somehow has formatting for an Exception object.

ESTIMATE TBD

Steps to reproduce the issue

What's the expected result?

-

What's the actual result?

-

Additional details / screenshot

Related Tickets