mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-07 04:01:54 +01:00
All the catches are in place for BlockFile and other errors, now throw.
This commit is contained in:
@@ -616,8 +616,7 @@ size_t BlockFile::CommonReadData(
|
||||
|
||||
if ( framesRead < len ) {
|
||||
if (mayThrow)
|
||||
//throw FileException{ FileException::Cause::Read, fileName }
|
||||
;
|
||||
throw FileException{ FileException::Cause::Read, fileName };
|
||||
ClearSamples(data, format, framesRead, len - framesRead);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user