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

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

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: JCR
    • Labels:
      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);
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                x-out X-out portal
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: