Mercurial > hg > sonic-annotator
diff runner/FeatureExtractionManager.cpp @ 117:5be4995f4029
Tests (and minor resulting fixes) for remote file download
author | Chris Cannam |
---|---|
date | Wed, 08 Oct 2014 13:14:39 +0100 |
parents | 1c0799754670 |
children | b514bae9555e |
line wrap: on
line diff
--- a/runner/FeatureExtractionManager.cpp Fri Oct 03 15:42:55 2014 +0100 +++ b/runner/FeatureExtractionManager.cpp Wed Oct 08 13:14:39 2014 +0100 @@ -453,7 +453,11 @@ FileSource source(audioSource, &retrievalProgress); if (!source.isAvailable()) { cerr << "ERROR: File or URL \"" << audioSource.toStdString() - << "\" could not be located" << endl; + << "\" could not be located"; + if (source.getErrorString() != "") { + cerr << ": " << source.getErrorString(); + } + cerr << endl; throw FileNotFound(audioSource); }