Catch errors thrown by canonicalizeOptions
Catch errors thrown by canonicalizeOptions

When running outside of a Promise, errors need to be caught with
try-catch.

Signed-off-by: Kevin Locke <ffb4761cba839470133bee36aeb139f58d7dbaa9@kevinlocke.name>

kevinoid/appveyor-status,kevinoid/appveyor-status,kevinoid/appveyor-status