Beispiel #1
0
        public static void Report(string type, Exception e)
        {
#if DEBUG
            return;
#endif

            return; // rip, server =(

            NetHelper.BlockingPost("http://a-damnae.rhcloud.com/storybrew/report.php",
                                   new NameValueCollection()
            {
                ["reporttype"] = type,
                ["source"]     = Settings?.Id ?? "-",
                ["version"]    = Version.ToString(),
                ["content"]    = e.ToString(),
            },
                                   (response, exception) =>
            {
            });
        }