Truncate exceptions when there are many bound parameters

Issue #1413 resolved
Former user created an issue

When there is an exception with a query with a lot of bound parameters, all the parameters are displayed. Given that you could have thousands of parameters, the exceptions can become very very long.

Attached is a patch that fixes that, showing only the first two parameters when there are more than 10 parameters total. (Not sure if that's the best numbers, but seems reasonable to me)

Comments (4)

  1. Log in to comment