Catch empty ref images (#1397)

* slow down constant reboots caused by the flow. With this, after a restart due to exception/panic the first round gets delayed by 5 minutes

* catch empty reference images

* .

Co-authored-by: CaCO3 <caco@ruinelli.ch>
This commit is contained in:
CaCO3
2022-11-25 07:23:15 +01:00
committed by GitHub
parent 2707e8c9f4
commit 9f20c126be
5 changed files with 43 additions and 2 deletions

View File

@@ -7,6 +7,7 @@
using namespace std;
std::string FormatFileName(std::string input);
std::size_t file_size(const std::string& file_name);
void FindReplace(std::string& line, std::string& oldString, std::string& newString);
bool CopyFile(string input, string output);