fix: the Tiny probe shows Tiny's own answer when a lookup is refused
All checks were successful
Build and deploy / Validate source (push) Successful in 10s
Build and deploy / Integration suite on a real stack (push) Successful in 3m46s
Build and deploy / Secret scan and release gate (push) Successful in 7s
Build and deploy / Publish images (push) Successful in 1m0s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-19 13:14:22 -03:00
parent f8cd6c148f
commit 7f7b684dbd

View File

@@ -97,7 +97,7 @@ def campos(orders, out):
except tiny.TinyError as exc:
ok = False
denied = ': 403 ' in str(exc) or ': 401 ' in str(exc)
out(f'{label}: ' + (f'sem permissão. Libere "{permission}" no aplicativo e reconecte.' if denied
out(f'{label}: ' + (f'sem permissão. Libere "{permission}" no aplicativo e reconecte. ({exc})' if denied
else str(exc)))
continue
out(f'{label}: {len(found)}')