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/ReloadWebPermissions.cs

    r325 r359  
    1414
    1515                public override void Execute (List<string> _params, CommandSenderInfo _senderInfo) {
    16                         try {
    17                                 WebPermissions.Instance.Load ();
    18                                 SdtdConsole.Instance.Output ("Web permissions file reloaded");
    19                         } catch (Exception e) {
    20                                 Log.Out ("Error in ReloadWebPermissions.Run: " + e);
    21                         }
     16                        WebPermissions.Instance.Load ();
     17                        SdtdConsole.Instance.Output ("Web permissions file reloaded");
    2218                }
    2319        }
Note: See TracChangeset for help on using the changeset viewer.