Skip to content

Commit

Permalink
Make error message more verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
waldoj committed Jan 14, 2024
1 parent 65b417f commit 1f576b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cron/update_places.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@
$place_result = mysql_query($sql);
if ($place_result == false)
{
$log->put('Error: Could not add place names for ' . strtoupper($bill['number']), 4);
$log->put('Error: Could not add place names for ' . strtoupper($bill['number'])
. ': ' . mysql_error($place_result) . ', ' . $sql, 4);
}

}
Expand Down

0 comments on commit 1f576b7

Please sign in to comment.