mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Note about debug.txt in error message dialog when mod fails to load
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user