Disabled debug and fixed error with empty messages