mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Note about debug.txt in error message dialog when mod fails to load
This commit is contained in:
parent
760416b81f
commit
746b960c0d
@ -1666,7 +1666,7 @@ int main(int argc, char *argv[])
|
|||||||
catch(ModError &e)
|
catch(ModError &e)
|
||||||
{
|
{
|
||||||
errorstream<<e.what()<<std::endl;
|
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
|
#ifdef NDEBUG
|
||||||
catch(std::exception &e)
|
catch(std::exception &e)
|
||||||
|
Loading…
Reference in New Issue
Block a user