ERR: pass original error message in read_sql_query (GH7730)