Logging TypeScript error.