Skip to content

Commit ff5749f

Browse files
authored
Merge pull request #58 from rogerfraser/master
Code enhancements to metadata
2 parents 4e6ab00 + 2cf2bd5 commit ff5749f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dynadjust/dynadjust/metadata/metadata.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ int main(int argc, char* argv[])
530530
}
531531
catch (...) {
532532
cout << "- Error: An error was encountered when opening " << input_file << "." << endl;
533-
cout << " Check that the file exists and that the file is not already opened." << endl << f.what();
533+
cout << " Check that the file exists and that the file is not already opened.";
534534
return EXIT_FAILURE;
535535
}
536536

@@ -549,7 +549,7 @@ int main(int argc, char* argv[])
549549

550550
}
551551
catch (const ios_base::failure& f) {
552-
cout << "- Error: An error was encountered when opening " << output_file << "." << endl;
552+
cout << "- Error: An error was encountered when opening " << output_file << "." << endl << f.what();
553553
return EXIT_FAILURE;
554554
}
555555
catch (...) {

0 commit comments

Comments
 (0)