Mercurial > hg > svcore
changeset 1403:edee37ae5882
Debug output
author | Chris Cannam |
---|---|
date | Tue, 07 Mar 2017 11:48:44 +0000 |
parents | aadfb395e933 |
children | d40246df828b |
files | data/fileio/CodedAudioFileReader.cpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/data/fileio/CodedAudioFileReader.cpp Mon Mar 06 17:37:23 2017 +0000 +++ b/data/fileio/CodedAudioFileReader.cpp Tue Mar 07 11:48:44 2017 +0000 @@ -482,6 +482,7 @@ m_data.insert(m_data.end(), buffer, buffer + count); } catch (const std::bad_alloc &e) { m_data.clear(); + SVCERR << "CodedAudioFileReader: Caught bad_alloc when trying to add " << count << " elements to buffer" << endl; m_dataLock.unlock(); throw e; }