Add error detection via ErrorLogListener in project.php