Skip to content

Commit

Permalink
Handle errMemoryLimit properly
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMarechal25 committed Aug 1, 2023
1 parent c993490 commit 896fddf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/solver/writer/zip_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ void ZipWriter::addEntryFromFile(const std::string& entryPath, const std::string
case errReadFailed:
logs.error() << "Read failed '" << filePath << "'";
break;
case errMemoryLimit:
logs.error() << "Size limit hit for file '" << filePath << "'";
break;
default:
logs.error() << "Unhandled error";
break;
Expand Down

0 comments on commit 896fddf

Please sign in to comment.