googletest icon indicating copy to clipboard operation
googletest copied to clipboard

Added an Error message when GetTempFileName fails - Fixes Issue #4566

Open Lalit-L opened this issue 1 year ago • 0 comments
trafficstars

REASON: Closes #4566 which desired an error message to be outputted when GetTempFileName fails, in order to try and fix the issue with some more knowledge as to why it failed

HOW THIS FIXES THE ISSUE

  • I have added GetLastError() to the end of the cout message when success != 0, in order to let the user know what error occured
  • I have checked all the tests and they pass as they should, the program was not affected negatively at all.

Lalit-L avatar Jul 26 '24 04:07 Lalit-L