Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2705

AbstractHandler.valueToString() exception while trying to log an exception

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • JCR
    • None

    Description

      In org.modeshape.web.jcr.rest.handler.AbstractHandler#valueToString we are getting an Exception in logger.error because the params are misordered.
      It should be

      logger.error(e, "Cannot create JSON string from value ");
      

      and not

      logger.error("Cannot create JSON string from value ", e);
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            x-out_jira X-out portal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: