aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-12-03 11:44:47 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-12-03 11:44:47 +0200
commit746b960c0d9bd84a8045e9ef264f2fcb1322018b (patch)
tree3e27e26a470e027402365db6b2ae742cda0f98f4 /src
parent760416b81fbcf3343d4276c20cf7d6028b5ad461 (diff)
downloadminetest-746b960c0d9bd84a8045e9ef264f2fcb1322018b.tar.gz
minetest-746b960c0d9bd84a8045e9ef264f2fcb1322018b.tar.bz2
minetest-746b960c0d9bd84a8045e9ef264f2fcb1322018b.zip
Note about debug.txt in error message dialog when mod fails to load
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
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)