Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-705

AeroGearLogger routeCatchAllException should be annotated with @Cause

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Minor
    • 1.0.0.M8
    • 1.0.0.M6
    • controller
    • None

    Description

      Currently the cause of an exception is not being logged, only the message. Adding a @Cause to the log method will fix this:

      @LogMessage(level = Logger.Level.ERROR)
      @Message(id = 5, value = "Exception Message: '%s'")
      void routeCatchAllException(@Cause Throwable exception, String error) ;
      

      Attachments

        Activity

          People

            dbeveniu Daniel Bevenius (Inactive)
            dbeveniu Daniel Bevenius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: