On normal cases errors should be logged Unless
Script can't write to log file
Or error occurred on higher level check app server logs like Appache || Nginx
Or it's resources limits Like PHP ini settings
memory_limit
max_input_time
max_execution_time
Or OS limit's and so on