tidy3d icon indicating copy to clipboard operation
tidy3d copied to clipboard

Errors and Logging

Open tylerflex opened this issue 3 years ago • 2 comments

  • [ ] In web.download, if task.status != 'success', download the full log and load into SimulationData.log_string with no monitor_data.

tylerflex avatar Dec 03 '21 23:12 tylerflex

@momchil-flex should we be raising td.AuthenticationError here? https://github.com/flexcompute/tidy3d/blob/develop/tidy3d/web/auth.py#L62

tylerflex avatar Jan 31 '22 01:01 tylerflex

@momchil-flex where are we at with the first bullet point? If the simulation errors / diverges, what gets returned when we try to download? Or is this something we should just handle client-side, ie

try:
    # download simulation data
except:
    # download the json file
    # generate and return an empty simulation data.

tylerflex avatar Jan 31 '22 01:01 tylerflex

consolidating in #544

tylerflex avatar Oct 08 '22 11:10 tylerflex