specql icon indicating copy to clipboard operation
specql copied to clipboard

Change asserts to throwing ex-info

Open tatut opened this issue 6 years ago • 0 comments

For example, trying to insert data with unknown column will cause AssertionError, which will not be caught if user is trying to catch all Exceptions.

It is better to throw ex-info instead of asserting.

tatut avatar Jan 10 '19 10:01 tatut