#36 Check if reason message is set

Fix relative to issue #36