get boolean from announce_registration config and extend error handling

fixes commit 59e0b66 for #27