Skip to content

Commit ade9dc0

Browse files
committed
chore: improve error message for tidy3d-extras
1 parent 98be21e commit ade9dc0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tidy3d/packaging.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ def _fn(*args, **kwargs):
216216
tidy3d_extras["use_local_subpixel"] = False
217217
raise Tidy3dImportError(
218218
"The package 'tidy3d-extras' did not initialize correctly, "
219-
"likely due to an invalid API key."
219+
"likely due to an invalid API key. To suppress this error, "
220+
"you can set 'config.use_local_subpixel=False'."
220221
)
221222

222223
if version != __version__:

0 commit comments

Comments
 (0)