コード例 #1
0
 protected override bool PreAppendCheck()
 {
     var config = new ExceptronConfiguration()
     {
         ApiKey = ApiKey,
         ThrowExceptions = ThrowExceptions
     };
     ExceptronClient = new ExceptronClient(config, ApplicationVersion);
     return true;
 }
コード例 #2
0
        protected override void InitializeTarget()
        {
            var config = new ExceptronConfiguration
                {
                    ApiKey = "57cb75d9eb2d457094d3f67133833eef",
                    IncludeMachineName = true,
                };

            if (RuntimeInfo.IsProduction)
            {
                config.ApiKey = "cc4728a35aa9414f9a0baa8eed56bc67";
            }

            ExceptronClient = new ExceptronClient(config, BuildInfo.Version);
        }
コード例 #3
0
        protected override void InitializeTarget()
        {
            var config = new ExceptronConfiguration
            {
                ApiKey             = "57cb75d9eb2d457094d3f67133833eef",
                IncludeMachineName = true,
            };

            if (RuntimeInfo.IsProduction)
            {
                config.ApiKey = "cc4728a35aa9414f9a0baa8eed56bc67";
            }

            ExceptronClient = new ExceptronClient(config, BuildInfo.Version);
        }
コード例 #4
0
ファイル: ExceptronTarget.cs プロジェクト: Djohnnie/Sonarr
        protected override void InitializeTarget()
        {
            var config = new ExceptronConfiguration
                {
                    ApiKey = "d64e0a72845d495abc625af3a27cf5f5",
                    IncludeMachineName = true,
                };

            if (RuntimeInfoBase.IsProduction)
            {
                config.ApiKey = "82c0f66dd2d64d1480cc88b551c9bdd8";
            }

            ExceptronClient = new ExceptronClient(config, BuildInfo.Version);
        }
コード例 #5
0
ファイル: ExceptronTarget.cs プロジェクト: novarr/Comarr
        protected override void InitializeTarget()
        {
            var config = new ExceptronConfiguration
            {
                ApiKey             = "d64e0a72845d495abc625af3a27cf5f5",
                IncludeMachineName = true,
            };

            if (RuntimeInfoBase.IsProduction)
            {
                config.ApiKey = "82c0f66dd2d64d1480cc88b551c9bdd8";
            }

            ExceptronClient = new ExceptronClient(config, BuildInfo.Version);
        }