From 746b960c0d9bd84a8045e9ef264f2fcb1322018b Mon Sep 17 00:00:00 2001
From: Perttu Ahola <celeron55@gmail.com>
Date: Sat, 3 Dec 2011 11:44:47 +0200
Subject: [PATCH] Note about debug.txt in error message dialog when mod fails
 to load

---
 src/main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.cpp b/src/main.cpp
index 83f532af1..11e1a8dc1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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)