diff --git a/cron/bills.php b/cron/bills.php index 90ae7c4..c52cd9a 100644 --- a/cron/bills.php +++ b/cron/bills.php @@ -290,7 +290,10 @@ if ($result === FALSE) { - $log->put('Adding ' . $bill['number'] . ' failed. SQL: ' . $sql, 7); + $log->put('Adding ' . $bill['number'] . ' failed. Almost certainly, this means that ' + . 'the legislator (' . $bill['chief_patron_id'] . ', ' + . strtolower($bill['chief_patron']) . ') who filed this bill isn’t in the database. ' + . 'SQL: ' . $sql, 7); unset($hashes[$number]); }