fix: log message raising exception