Clearer error message

@gaurave

Small step towards improving the user experience from #2593.
Yes, it was for the icons in the file tree view