aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.UI/FileSystem/DefaultFileSystemProvider.cs
diff options
context:
space:
mode:
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.");
}
}
}