bminer / node-mysql-queues

Wraps 'node-mysql' to provide mulitple query queues, allowing support for multiple statements and transactions.
MIT License
92 stars 11 forks source link

Broken Stack Traces #2

Closed bminer closed 12 years ago

bminer commented 12 years ago

Stack traces are incredibly unhelpful. It would be nice if mysql-queues tracked the location where Queue.query was called. Then, whenever an exception occurs during the execution of the Queue, mysql-queues can return information about the caller of Queue.query.

I dunno....

bminer commented 12 years ago

I added debug option, which prints the SQL of the problem query. That's probably good enough for now... don't really want to write expensive code to retrace the whole stack for each error...

I'm closing this issue for now.