improved client bug logging