Add better error for development