Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Unhelpful error message in multiple_insert() when not all rows have the same keys #183
When you're using
"Bad data" is not as helpful as it could be. :-)
The code in question is here:
What about moving the helpful error message from the comment into the exception argument, like so:
Could even do this for bonus points: