Make warning more informative