Note about debug.txt in error message dialog when mod fails to load
authorPerttu Ahola <celeron55@gmail.com>
Sat, 3 Dec 2011 09:44:47 +0000 (11:44 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 3 Dec 2011 09:44:47 +0000 (11:44 +0200)
src/main.cpp

index 83f532af1b2b94f5026300479b41b63efc041c5d..11e1a8dc19ce608354a6a9477d0273e145e3d3da 100644 (file)
@@ -1666,7 +1666,7 @@ int main(int argc, char *argv[])
                catch(ModError &e)
                {
                        errorstream<<e.what()<<std::endl;
-                       error_message = narrow_to_wide(e.what());
+                       error_message = narrow_to_wide(e.what()) + L"\nCheck debug.txt for details.";
                }
 #ifdef NDEBUG
                catch(std::exception &e)