* Stop OpenSim crashing if an exception from a command makes it right up to the top of the stack
							parent
							
								
									25bc7a44cd
								
							
						
					
					
						commit
						0cd5a353cf
					
				| 
						 | 
				
			
			@ -111,9 +111,15 @@ namespace OpenSim
 | 
			
		|||
 | 
			
		||||
                while (true)
 | 
			
		||||
                {
 | 
			
		||||
                    MainConsole.Instance.Prompt();
 | 
			
		||||
                    try
 | 
			
		||||
                    {
 | 
			
		||||
                        MainConsole.Instance.Prompt();
 | 
			
		||||
                    }
 | 
			
		||||
                    catch (Exception e)
 | 
			
		||||
                    {
 | 
			
		||||
                        Console.WriteLine("Caught exception from command: {0}", e);
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue