node-mysql2
node-mysql2 copied to clipboard
connection.ping() resolves with error rather than rejecting
When using promises, the connection.ping() function behaves in a very confusing and counter-intuitive way — it resolves to an error when the ping fails. Would it not be much better to reject when the ping fails?
sounds like a bug, will check, thanks!
Just checking to see if this was ever resolved?