Closed srbcheema1 closed 6 years ago
@jmmut I have made the requested changes. Please have a look at it.
@jmmut I think there may be possibility that some error or exception is generated in try block before writing it to file. so thats why i was preffering not to print it in line 143. As it would be pointless to print it there if no file is written. tell me if I got something wrong.
oh, my fault, the line std::string report_result = "...
needs to be before the loop
regarding the log placement, we are discussing it, we'll tell you later
ok, after thinking about this, just move the line std::string report_result = "...
line before the loop to make it compile and we'll merge this. In the future, if we have another report that doesn't write to a file we'll change the name of the method to something more generic, because it will be still useful.
@jmmut , should I undo the changes I did in last commit regarding these two lines(moving both the lines together). Or should I move only one line above the loop.
only one line, we still want the last line to be the final yes/no statement.
This PR is for the issue #115 I have added a message to display the filename of output file