Commit Graph

5 Commits

Author SHA1 Message Date
Ben Marsh
3fb12c7ee6 Call out segmentation fault errors (and other signals) when the editor commandlet terminates abnormally, as well as printing out the exit code.
[CL 2643513 by Ben Marsh in Main branch]
2015-08-04 11:25:24 -04:00
Wes Hunt
5381c65593 Convert to a better exception class and error message. Most tools assume NotImplementedException means something very specific.
[CL 2637669 by Wes Hunt in Main branch]
2015-07-29 17:04:27 -04:00
Peter Sauerbrei
e57bbb9483 fix for build machine failure when copying DDC stats when running BuildDerivedDataCache commandlet
[CL 2631631 by Peter Sauerbrei in Main branch]
2015-07-23 19:06:45 -04:00
Peter Sauerbrei
dc1d815f84 refactored the logging system for UAT/UBT to be more like UE4
we now use an enum similar to UE4 with Fatal, Error, Warning, Display, Log, Verbose, and VeryVerbose
Log will only go to the log file unless -verbose is passed on the command line
reduced some of the output from UAT to be Log only

[CL 2631062 by Peter Sauerbrei in Main branch]
2015-07-23 14:51:46 -04:00
Wes Hunt
506f7e64a4 UEB-260 - Break AutomationTool into AutomationUtils that all automation projects depend on, and AutomationTool, which essentially only contains the startup code.
* Remove ErrorReporter.Error, replace with AutomationException with Error Code.
* Move ErrorCodes to AutomationException.
* Don't return exit codes. Solely rely on exceptions to propagate exit codes.
* Remove MainProc delegate
* Remove setting of Environment.ExitCode as it is ignored when main returns an int.
* ShutdownLogging is nothrow, as all exceptions would be ignored anyway.
* Wrap all shutdown steps so further ones get a chance to run.
* Move HostPlatform.Initialize into the global try/catch block
#codereview:ben.marsh

[CL 2605826 by Wes Hunt in Main branch]
2015-06-30 11:40:05 -04:00