Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-14801

Content service: log error when throwing InternalServerErrorException

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Top
    • Resolution: Fixed
    • 14.6.0
    • 14.7.0
    • None
    • None
    • 0.5
    • Quasar
    • Puma sprint 270

    Description

      The Experience Manager uses Content service module.

      Internally, for instance in org.onehippo.cms.channelmanager.content.document.DocumentsServiceImpl, sometimes  InternalServerErrorException is thrown:

      throw new InternalServerErrorException(new ErrorInfo(Reason.SERVER_ERROR));
      

      This usually goes accompanied by DEBUG, INFO, WARN log statements, but let's make sure an ERROR level log is always done here. 

      Reason is that in case ERROR level is the default, it is hard to find out what the reason is of the error. You just get an "500 Server Error".

      Attachments

        Activity

          People

            mrop Michiel Rop
            jhoffman Jeroen Hoffman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: