catch requirejs build error in log