IHTSDO / component-identifier-service-legacy

A REST Server for managing the generation and assignment of Terminology Component Identifiers.
Other
1 stars 4 forks source link

Adding undefined check for swagger params in log #10

Closed alopezo closed 8 years ago

alopezo commented 8 years ago

This logging bug appeared in some cases when a REST operation ended in error, this pull request will resolve the logging issue, by verifying that the swagger property is defined before trying to log its content.

Now we will have detailed logs for all REST operations that have some kind of error.

No functional issues were reported, so the failed ones may have been caused by bad requests, no permissions, etc. If any new thing arises, the log will help to identify any issue.