From 3c3737ed78a81d05a0243687a12a1089d80c2994 Mon Sep 17 00:00:00 2001 From: Michael Mc Donnell Date: Wed, 29 Aug 2012 19:38:33 -0400 Subject: [PATCH] Write error message for exception and fix warning Provides details of what went wrong when reading the .esp and also fixes a warning on vs2010. --- apps/launcher/datafilespage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/launcher/datafilespage.cpp b/apps/launcher/datafilespage.cpp index 8545be835..7ff2ce44c 100644 --- a/apps/launcher/datafilespage.cpp +++ b/apps/launcher/datafilespage.cpp @@ -351,6 +351,7 @@ bool DataFilesPage::setupDataFiles() } catch(std::runtime_error &e) { // An error occurred while reading the .esp + std::cerr << "Error reading .esp: " << e.what() << std::endl; continue; } }