Fixed to use Error's try/catch