Skip to content

Commit

Permalink
Being more explicit with the log messages
Browse files Browse the repository at this point in the history
This isn't saving a fiscal impact statement, just an ID.
  • Loading branch information
waldoj committed Nov 25, 2024
1 parent 93616c5 commit 24343e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cron/fiscal_impact.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
session_id = ' . SESSION_ID;
$result = mysqli_query($GLOBALS['db'], $sql);
if ($result === false) {
$log->put('Error: Adding a fiscal impact statement for ' . $bill_number . ' failed: '
$log->put('Error: Adding a fiscal impact statement ID for ' . $bill_number . ' failed: '
. mysqli_error($GLOBALS['db']), 4);
}
else {
$log->put('Added a fiscal impact statement for ' . $bill_number . '.', 1);
$log->put('Added a fiscal impact statement ID for ' . $bill_number . '.', 1);
}
}

0 comments on commit 24343e7

Please sign in to comment.