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

Improve error logging for PluginFactory

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • High
    • Resolution: Fixed
    • 2.01.00m06.4
    • 2.01.00m07-rc1, r2.01.xx (m08)
    • None
    • None

    Description

      } catch (InvocationTargetException e)

      { message = e.getTargetException().getClass().getName() + ": " + e.getTargetException().getMessage(); log.error(e.getMessage()); e.printStackTrace(); }

      catch (Exception e)

      { message = e.getClass().getName() + ": " + e.getMessage(); log.error(e.getMessage()); e.printStackTrace(); }

      Maybe something like:
      } catch (Exception e)

      { log.error(message); log.debug(message,e); }

      Attachments

        Activity

          People

            bvdschans Bart van der Schans (Inactive)
            bvdschans Bart van der Schans (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: