Fix issue where a non-string option throws exception

This disables logging of non-string option values