| 1234567891011121314151617 |
- using System;
- using ETModel;
- namespace ETHotfix
- {
- public static class ExceptionHelper
- {
- public static string ToStr(this Exception exception)
- {
- #if ILRuntime
- return $"{exception.Data["StackTrace"]} \n\n {exception}";
- #else
- return exception.ToString();
- #endif
- }
- }
- }
|