Uploaded image for project: 'Webservices REST Module'
  1. Webservices REST Module
  2. RESTWS-484

BaseRestController is not logging exceptions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: 2.6, 2.7, 2.8, 2.9
    • Fix Version/s: 2.9
    • Labels:
      None
    • Complexity:
      Low

      Description

      In BaseRestController the method handleException() is not logging exception thrown. If there there is any un-handled exception, the method should log exception stack trace.

      Please find the link for the Exception Handler :
      https://github.com/openmrs/openmrs-module-webservices.rest/blob/webservices.rest-2.6/omod-common/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/controller/BaseRestController.java#L84

        Attachments

          Activity

            People

            • Assignee:
              vikash Vikash Gupta
              Reporter:
              vikash Vikash Gupta
              Designated Committer:
              Rafal Korytkowski
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified