Skip to content

Commit 4f4e522

Browse files
Adsk contrib - Issue with latest ociocheck (#1715)
* Missing logs from config::validate. Signed-off-by: Cédrik Fuoco <[email protected]> * Moving log guard ouput before the checks for errors level logs. Signed-off-by: Cédrik Fuoco <[email protected]> Signed-off-by: Cédrik Fuoco <[email protected]> Co-authored-by: Doug Walker <[email protected]>
1 parent 1e6b01c commit 4f4e522

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/apps/ociocheck/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,8 @@ int main(int argc, const char **argv)
506506
LogGuard logGuard;
507507

508508
config->validate();
509+
std::cout << logGuard.output();
510+
509511
cacheID = config->getCacheID();
510512
isArchivable = config->isArchivable();
511513

@@ -517,7 +519,6 @@ int main(int argc, const char **argv)
517519
}
518520
else
519521
{
520-
std::cout << logGuard.output();
521522
std::cout << "failed" << std::endl;
522523
errorcount += 1;
523524
}

0 commit comments

Comments
 (0)