From 5e910978ac753d0f612f4711f5e10466dbb5f250 Mon Sep 17 00:00:00 2001 From: "Brown, Joshua" Date: Wed, 13 Dec 2023 10:45:16 -0500 Subject: [PATCH] Should throw and error --- repository/server/RequestWorker.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/repository/server/RequestWorker.cpp b/repository/server/RequestWorker.cpp index 121eee287..2148cae39 100644 --- a/repository/server/RequestWorker.cpp +++ b/repository/server/RequestWorker.cpp @@ -337,6 +337,7 @@ RequestWorker::procDataGetSizeRequest(std::unique_ptr &&msg_request) { data_sz->set_size(0); DL_ERROR(message_log_context, "DataGetSizeReq - path does not exist: " << item.path()); + // This should throw an error if the file does not exist } DL_DEBUG(message_log_context, "FILE SIZE: " << data_sz->size() << ", path to collection: "