1
0

send mail on exception

This commit is contained in:
2018-01-28 14:30:19 +01:00
parent cf414a437d
commit aeebdaa71b
2 changed files with 40 additions and 2 deletions

View File

@@ -181,6 +181,7 @@ try {
if (isProd())
{
sendExceptionMail($e);
httpError('500 ', 'Internal server error');
}
else
@@ -191,11 +192,9 @@ try {
}
//TODO printed books 2 hp
//TODO fast
//TODO gzip (?)
//TODO better gh widget
//TODO remove db table prefixes
//TODO euler insert+show 32bit | 64bit mode
//TODO send cache header (?)
//TODO global uncached error logger -> send by mail