datasource_cache: display correctly the error message
Merge pull request #2046 from vross/master

datasource_cache: display correctly the error message