Skip to content

Commit 6995439

Browse files
authored
Merge pull request #159 from sillsdev/add-analytics-exception-reporting
Report unhandled exception via analytics
2 parents 7ee8e31 + 911729b commit 6995439

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Transcelerator/TxlPlugin.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,15 @@ public bool ReportUnhandledException(Exception exception)
586586
{
587587
bool isFatal = false;
588588

589+
try
590+
{
591+
Analytics.ReportException(exception);
592+
}
593+
catch
594+
{
595+
// Don't think an exception can be thrown from this, but if so, ignore it.
596+
}
597+
589598
try
590599
{
591600
if (!(exception is ParatextPluginException))

0 commit comments

Comments
 (0)