diff --git a/include/binary_file_packer.h b/include/binary_file_packer.h index bbc6f945674e454c415ca8695eaeaa774300c05b..00c45ed893a94ac8bfed134e0a0a1038e72d37de 100644 --- a/include/binary_file_packer.h +++ b/include/binary_file_packer.h @@ -26,7 +26,7 @@ namespace Restool { class BinaryFilePacker { public: explicit BinaryFilePacker(const PackageParser &packageParser, const std::string &moduleName); - ~BinaryFilePacker(); + virtual ~BinaryFilePacker(); std::future CopyBinaryFileAsync(const std::vector &inputs); void StopCopy(); diff --git a/src/restool_errors.cpp b/src/restool_errors.cpp index b306f2d416b57f2a1e9f92164855691bf8ea68b5..599285c023295a5744fe85a095462e2ed66c51b9 100644 --- a/src/restool_errors.cpp +++ b/src/restool_errors.cpp @@ -548,7 +548,7 @@ void PrintError(const ErrorInfo &error) errMsg.append("Error: ").append(error.description_).append("\n"); errMsg.append("Error Message: ").append(error.cause_); if (!error.position_.empty()) { - errMsg.append(" At ").append(error.position_); + errMsg.append(" At file: ").append(error.position_); } errMsg.append("\n"); if (!error.solutions_.empty()) {