aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.UI/FileSystem/DefaultFileSystemProvider.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-04-11 00:54:54 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-04-11 00:54:54 +0300
commitcb1b51c238c64f570d73b7dca6a2eee205b2da01 (patch)
treedae3c0d5da9d003cb6860431d763eaad0dd5caf7 /Software/Visual_Studio/FSE/Tango.FSE.UI/FileSystem/DefaultFileSystemProvider.cs
parentb4682a3abfe299c19b24752b2fb1ce2477611ec3 (diff)
downloadTango-cb1b51c238c64f570d73b7dca6a2eee205b2da01.tar.gz
Tango-cb1b51c238c64f570d73b7dca6a2eee205b2da01.zip
Implemented FSE bug reporting !!!
Diffstat (limited to 'Software/Visual_Studio/FSE/Tango.FSE.UI/FileSystem/DefaultFileSystemProvider.cs')
-rw-r--r--Software/Visual_Studio/FSE/Tango.FSE.UI/FileSystem/DefaultFileSystemProvider.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.UI/FileSystem/DefaultFileSystemProvider.cs b/Software/Visual_Studio/FSE/Tango.FSE.UI/FileSystem/DefaultFileSystemProvider.cs
index 8381133bf..3ab27fe1e 100644
--- a/Software/Visual_Studio/FSE/Tango.FSE.UI/FileSystem/DefaultFileSystemProvider.cs
+++ b/Software/Visual_Studio/FSE/Tango.FSE.UI/FileSystem/DefaultFileSystemProvider.cs
@@ -8,6 +8,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Tango.Core;
+using Tango.Core.DI;
using Tango.Core.ExtensionMethods;
using Tango.Core.IO;
using Tango.Core.Threading;
@@ -15,6 +16,7 @@ using Tango.FileSystem;
using Tango.FileSystem.Network;
using Tango.FSE.Common.Connection;
using Tango.FSE.Common.FileSystem;
+using Tango.FSE.Common.Notifications;
using Tango.Transport;
using Tango.Transport.Transporters;
using Tango.WebRTC;
@@ -38,6 +40,9 @@ namespace Tango.FSE.UI.FileSystem
private const int WEB_RTC_MAX_RETRIES = 8; //Maximum number of retries per chunk for the WebRTC channel until falling back to standard channel.
private List<FileSystemHandler> _activeHandlers;
+ [TangoInject]
+ private INotificationProvider NotificationProvider { get; set; }
+
#region Properties
private bool _enableWebRTC;
@@ -170,6 +175,7 @@ namespace Tango.FSE.UI.FileSystem
{
IsWebRtcAvailable = false;
LogManager.Log(ex, "Error initializing FileSystem via WebRTC.");
+ NotificationProvider.PushErrorReportingSnackbar(ex, "PPC Module Error", "Could not initialize the remote file system fast channel.");
}
}
}