log a warning if an AQL user functions throws an exception