might be useful if warnings succesfully warned rather than caused an error