log errors only
Add missing constants file