context sensitivity on function instance (very simple), print errors if call to jsnap fails