Permalink
Browse files

Exceptions: null ref fix

  • Loading branch information...
1 parent dd69244 commit 49e9c2b70b69750dd8b0f500b8394f8b664ea950 @NickCraver NickCraver committed Jan 9, 2017
Showing with 1 addition and 0 deletions.
  1. +1 −0 Opserver.Core/Data/Exceptions/ExceptionStores.cs
@@ -128,6 +128,7 @@ public static IEnumerable<string> GetAppNames(string group, string app)
public static IEnumerable<Application> GetApps(string appName)
{
+ if (Applications == null) yield break;
foreach (var a in Applications)
{
if (a.Name == appName || appName == null)

0 comments on commit 49e9c2b

Please sign in to comment.