No longer throws an error in request.log when debugging and data is null

Closes #749