Log undefined values properly
Finished feature 58786466/consolelog-throws.