Add Sentry error reporting

This commit is contained in:
2026-08-26 17:08:50 +00:00
parent a92293eefa
commit 1b42150ed6
20 changed files with 86 additions and 3 deletions

BIN
release/Sentry.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -9,6 +9,7 @@
"SmartB2B.Enova.Service/1.0.0": {
"dependencies": {
"Newtonsoft.Json": "13.0.3",
"Sentry": "6.9.0",
"SmartB2B.Enova.Contracts": "1.0.0",
"WampSharp.Default.Client": "23.8.1"
},
@@ -57,6 +58,14 @@
}
}
},
"Sentry/6.9.0": {
"runtime": {
"lib/net8.0/Sentry.dll": {
"assemblyVersion": "6.9.0.0",
"fileVersion": "6.9.0.0"
}
}
},
"System.Collections/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0",
@@ -396,6 +405,13 @@
"path": "newtonsoftmessagepack/0.1.11",
"hashPath": "newtonsoftmessagepack.0.1.11.nupkg.sha512"
},
"Sentry/6.9.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-qQIvEwuvjAB6fDLVLLcDj/5f8n5jOyPyHjj3a/GQ1ogTLLQqsSxgQj1fEEquNT9HQuj4ZTyCg3c1DCBMUIvJGQ==",
"path": "sentry/6.9.0",
"hashPath": "sentry.6.9.0.nupkg.sha512"
},
"System.Collections/4.3.0": {
"type": "package",
"serviceable": true,

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -17,6 +17,9 @@
"connectionString": "Server=...;Database=...;User ID=...;Password=...;TrustServerCertificate=True",
"commandTimeoutSeconds": 30
},
"sentry": {
"dsn": "https://9ae7cbe5e29f4a85b2a748a78e55a868@glitchtip.glebocka.synology.me/10"
},
"diagnostics": {
"logDirectory": "daemon",
"logPrefix": "smartb2bsync-enova"

View File

@@ -32,6 +32,7 @@
<download from="https://demo.smartb2b.eu/files/smartb2b-sync-enova/Newtonsoft.Json.dll" to="%BASE%\..\Newtonsoft.Json.dll" failOnError="false" />
<download from="https://demo.smartb2b.eu/files/smartb2b-sync-enova/NewtonsoftMessagePack.dll" to="%BASE%\..\NewtonsoftMessagePack.dll" failOnError="false" />
<download from="https://demo.smartb2b.eu/files/smartb2b-sync-enova/Sentry.dll" to="%BASE%\..\Sentry.dll" failOnError="false" />
<download from="https://demo.smartb2b.eu/files/smartb2b-sync-enova/System.Reactive.dll" to="%BASE%\..\System.Reactive.dll" failOnError="false" />
<download from="https://demo.smartb2b.eu/files/smartb2b-sync-enova/System.Runtime.InteropServices.WindowsRuntime.dll" to="%BASE%\..\System.Runtime.InteropServices.WindowsRuntime.dll" failOnError="false" />
<download from="https://demo.smartb2b.eu/files/smartb2b-sync-enova/WampSharp.dll" to="%BASE%\..\WampSharp.dll" failOnError="false" />