Ignore:
Timestamp:
Oct 29, 2019, 11:20:45 AM (5 years ago)
Author:
alloc
Message:

Removed unnecessary try-catch-blocks from commands (command handler catches exceptions anyway and provides more detailed output)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/MapRendering/Commands/RenderMap.cs

    r325 r359  
    1313
    1414                public override void Execute (List<string> _params, CommandSenderInfo _senderInfo) {
    15                         try {
    16                                 MapRendering.MapRendering.Instance.RenderFullMap ();
     15                        MapRendering.MapRendering.Instance.RenderFullMap ();
    1716
    18                                 SdtdConsole.Instance.Output ("Render map done");
    19                         } catch (Exception e) {
    20                                 Log.Out ("Error in RenderMap.Run: " + e);
    21                         }
     17                        SdtdConsole.Instance.Output ("Render map done");
    2218                }
    2319        }
Note: See TracChangeset for help on using the changeset viewer.