Make error reporting a bit more informative, rethrow a caught exception

pull/43/head
Nick Porcino 6 years ago
parent 726cdf26df
commit f94005c398

@ -48,7 +48,8 @@ void NyquistIO::Load(AudioData * data, const std::string & path)
}
catch (const std::exception & e)
{
std::cerr << "Caught internal exception: " << e.what() << std::endl;
std::cerr << "NyquistIO::Load(" << path << ") caught internal exception: " << e.what() << std::endl;
throw;
}
}

Loading…
Cancel
Save