Mar 13, 2013; 16:20
pavel
Error Monitor
Hello,
In lasso 8.6 I'm using this error monitor to report problems on some pages. I have a file errormonitor.lasso which I include right after important inlines to see if there are errors.
The monitored pages look somewhat like this
some inline here
[include('ErrorMonitorlasso')]
end of the inline
The error file looks like this
<?lasso
local('EC') = Error_Code
local('error') = Error_CurrentError
if(#error != 'No Error')
Email_Send(
-from = 'pavel@4000ft.com',
-to = 'pavel@4000ft.com',
-subject = Output('Error - ' + local('error')),
-body = Output(
'Page URL: ' + (Client_URL) + '
Previous: ' + (Referrer_URL) + '
Error: ' + local('error') + '
Database: ' + (Database_Name) + '
Table: ' + (Table_Name) + '
Action: ' + (Lasso_CurrentAction) + '
Statement: ' + (Action_Statement) + '
Pavel go check the error.
Error Monitor'))
/if
?>
If error occurs I get email.
Is there a way to implement the email notification somewhere on lasso 9 page, so I get notified when customer see error.
I want to build some more custom errors, but for now I would like to be informed if something goes wrong.
Thanks, Pavel
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>