|
@@ -109,8 +109,9 @@ public class GPSUpdateQueue
|
|
|
using var fileStream = new FileStream(filename, FileMode.Open, FileAccess.Read);
|
|
|
deviceUpdate = Serialization.ReadBinary<GPSDeviceUpdate>(fileStream, BinarySerializationSettings.Latest);
|
|
|
}
|
|
|
- catch
|
|
|
+ catch (Exception e)
|
|
|
{
|
|
|
+ Logger.Send(LogType.Error, "", string.Format("Unable to retrieve file: {0}", filename));
|
|
|
// File is probably in use.
|
|
|
}
|
|
|
if(deviceUpdate is not null)
|