Use record_log the full exception

This commit is contained in:
sparkyx 2025-01-15 16:41:57 +01:00
parent b7d925b307
commit d0b13dbd52

View file

@ -173,8 +173,10 @@ window.onload=function ()
{
create_anchor_up();
init_scroll();
sorttable.init
}
</script>
<?php
@ -287,7 +289,7 @@ if (isset($_REQUEST['ac']))
}
else {
alert($e->getMessage());
record_log($e->getTraceAsString());
record_log($e);
throw $e;
}
}
@ -319,8 +321,7 @@ else
{
echo $exc->getMessage();
record_log("No user profile ");
record_log($exc->getMessage());
record_log($exc->getTraceAsString());
record_log($exc);
throw $exc;
}