tidy3d
tidy3d copied to clipboard
Errors and Logging
- [ ] In
web.download
, iftask.status != 'success'
, download the full log and load intoSimulationData.log_string
with nomonitor_data
.
@momchil-flex should we be raising td.AuthenticationError here? https://github.com/flexcompute/tidy3d/blob/develop/tidy3d/web/auth.py#L62
@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.
consolidating in #544