fixup! wip: Propagate failed challenge up and cancel write
gui: Display database write error to user

* Present the user with more information about the error.