Added date and time to error messages in debug output