Investigating SQL exception not reporting query string.