Files
FreedomBox/freedombox/modules/wireguard
Sunil Mohan Adapa 0bb52bf8ae wireguard: Throw exception when client can't be added
- Sometimes a newly added client can't be found even after waiting 10 seconds.
In these cases the changes are mostly lost. Raise an exception instead showing
that the client has been added.

Tests:

- When client adding fails, exception is raised instead of successfully showing
the result page.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2026-11-27 07:20:54 -05:00
..