[ 
https://issues.apache.org/jira/browse/LENS-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amareshwari Sriramadasu updated LENS-402:
-----------------------------------------
    Attachment: LENS-402.2.patch

Patch after review

> Send status message along with of errorMessage
> ----------------------------------------------
>
>                 Key: LENS-402
>                 URL: https://issues.apache.org/jira/browse/LENS-402
>             Project: Apache Lens
>          Issue Type: Sub-task
>          Components: server
>    Affects Versions: 2.0
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 2.1
>
>         Attachments: LENS-402.2.patch
>
>
> Right now email notification sends error message which is the cause of the 
> failure. Instead it should also contain the reason for failure which is 
> captured in statusMessage.
> The possible messages that could be sent over email are :
> * Launching query failed
> * Status update failed
> * Query execution failed
> * Result formatting failed
> * Query has been cancelled
> We have seen issues because of result formatting failed with NPE sends simply 
> 'null' on the email.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to