Beispiel #1
0
        private static string DropItemToString(DropItem dropItem)
        {
            try
            {
                return(dropItem?.ToJson().ToString());
            }
#pragma warning disable ERP022 // TODO: This should really handle specific errors
            catch
            {
                return(null);
            }
#pragma warning restore ERP022 // Unobserved exception in generic exception handler
        }