Skip to content

Commit

Permalink
Added log message if the temprary fiule was not deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Jan 29, 2024
1 parent 1600963 commit 6264c6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/basic/vx_config/temp_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ void remove_temp_file(const ConcatString file_name) {
const char *keep_temp = getenv("MET_KEEP_TEMP_FILE");
if (nullptr != keep_temp
&& (0 == strcmp(keep_temp, "true") || 0 == strcmp(keep_temp, "yes"))) {
mlog << Debug(2) << "The temporary file ("
<< file_name << ") was not deleted. Please remove it manually\n\n";
return;
}

Expand Down

0 comments on commit 6264c6d

Please sign in to comment.