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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • JCR
    • None

      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);
      

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

              Created:
              Updated: