RavenDB-2040 Fixing logging exception because of a missing parameter