Email notification for error report does not list the application
dybalabj
Posts: 26 Silver 1
I recently upgraded from SA6 to SA7. When I get an email notification that an error has been reported from an application processed with SA7 the subject simply states "An error has been reported." For applications processed with SA6, the subject states "An error has been reported in <Application Name>".
Also, the SA7 email body only contains the generic text:
"An error has been reported, and an exception report has been uploaded by one of your users.
This email is automatically sent to you each time an exception report is uploaded."
The SA6 email body had more details regarding the application name, version, and build date.
Is there a way to set SA7 to use the more detailed email notification for error reports?
Also, the SA7 email body only contains the generic text:
"An error has been reported, and an exception report has been uploaded by one of your users.
This email is automatically sent to you each time an exception report is uploaded."
The SA6 email body had more details regarding the application name, version, and build date.
Is there a way to set SA7 to use the more detailed email notification for error reports?
Tagged:
Best Answer
-
Russell D Posts: 1,324 Diamond 5Ok, this is due to the way input parameters are added on the command line. SmartAssembly creates a new settings with an old configuration and a new input. Unfortunately, some settings are ignored during this process (like error reporting). Is it possible to not use the input assembly parameter for now?Have you visited our Help Centre?
Answers
We are looking into this - please bear with us!
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?
And the corresponding email:
Can you share what you've got set in AER?
I'm also executing SmartAssembly from my Visual Studio project as a Post-Build Event, and specifying the error report template on the command line (to ensure the correct relative path is used - I think this was an issue from an earlier version of SmartAssembly).
And here is the email that I receive.
Click the button on the .NET application to generate a test error. The attached SA project only adds error reporting to the application.
It looks like it's a problem when using SmartAssembly.com from the command line. Processing via the SA GUI works fine. If I process my assembly from the command line and only specify the /build <project file> option, it works fine. If I add the /input=<input assembly> option, then the email notification does not include the application name or version details. In my actual project, my command line also includes the /output and /errorreporttemplate options, but I have not checked to see if those individually cause the problem as well.
Out of curiosity, is there a plan to fix this behavior to work like it did in v6? Or is this an intentional change in v7?