Skip to content

Commit

Permalink
Output log file processing error
Browse files Browse the repository at this point in the history
  • Loading branch information
hedgecrw committed Dec 11, 2023
1 parent ab17754 commit 8c7c950
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion software/management/dashboard/tottag.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,8 @@ async def download_logs_done(self):
await self.connected_device.stop_notify(MAINTENANCE_DATA_SERVICE_UUID)
if self.data_index == self.data_length:
process_tottag_data(int(self.connected_device.address.split(':')[-1], 16), self.storage_directory, self.data_details, self.data, self.download_raw_logs)
except Exception:
except Exception as e:
print('Log file processing error:', e);
self.result_queue.put_nowait(('ERROR', ('TotTag Error', 'Unable to write log file to ' + self.storage_directory)))


Expand Down

0 comments on commit 8c7c950

Please sign in to comment.