new SQLActionException(e.getMessage(), 4000, RestStatus.BAD_REQUEST, stackTrace.toString())));
return;
}
Object[] args = context.args();
Object[][] bulkArgs = context.bulkArgs();
if(args != null && args.length > 0 && bulkArgs != null && bulkArgs.length > 0){
channel.sendResponse(new CrateThrowableRestResponse(channel,
new SQLActionException("request body contains args and bulk_args. It's forbidden to provide both",
4000, RestStatus.BAD_REQUEST, null)));
return;