From a3fc2c45ec2a62684e128ffd7cab88bd101ad917 Mon Sep 17 00:00:00 2001 From: MichaelTheShifter Date: Tue, 17 May 2016 15:37:02 -0400 Subject: Committing all I've got Committing everything I've got - so that I can take a break for a few months and work on other things. --- source/WindowsFormsApplication1/Appscape.cs | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'source/WindowsFormsApplication1/Appscape.cs') diff --git a/source/WindowsFormsApplication1/Appscape.cs b/source/WindowsFormsApplication1/Appscape.cs index d4fc945..a482a04 100644 --- a/source/WindowsFormsApplication1/Appscape.cs +++ b/source/WindowsFormsApplication1/Appscape.cs @@ -498,6 +498,10 @@ namespace ShiftOS /// The client to add to. public void GenerateNewDevKey(AppscapeClient client) { + if(client.DevList == null) + { + client.DevList = new Dictionary(); + } var rnd = new Random(); int key = rnd.Next(1, 99999999); var dev = new AppscapeModder(); @@ -741,14 +745,14 @@ namespace ShiftOS { if(lvnets.SelectedItems.Count > 0) { - try - { + //try + //{ GenerateNewDevKey((AppscapeClient)lvnets.SelectedItems[0].Tag); - } - catch + /*} + catch (Exception ex) { - API.CreateInfoboxSession("Error", "An error has occurred trying to process the request.", infobox.InfoboxMode.Info); - } + API.CreateInfoboxSession("Error", "An error has occurred trying to process the request: {ex.Message}", infobox.InfoboxMode.Info); + }*/ } } } -- cgit v1.2.3