I still think readability can be improved as suggested in https://github.com/Freeseer/freeseer/pull/413#discussion_r8172195 by checking the good condition and logging in the else.