Add better error logging functions for LUs