Adds an option to fetch and log warnings